ConLite/trunk/conlite/plugins/smarty/libs/sysplugins/smartyexception.php
2017-08-16 13:54:04 +00:00

16 Zeilen
296 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) . ' <-- ';
}
}