Files
newznab-tmux/libs/smarty/sysplugins/smartyexception.php
T
DariusIII 932fca6230 Update to Smarty 3.1.27.
(cherry picked from commit e74fe67)
2015-06-23 23:40:41 +02:00

16 lines
295 B
PHP

<?php
/**
* Smarty exception class
*
* @package Smarty
*/
class SmartyException extends Exception
{
public static $escape = false;
public function __toString()
{
return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
}
}