Files
development/www/smarty-3.1.27/sysplugins/smartyexception.php
Clemens Schwaighofer aa73634d95 Update Smarty to 3.1.27
2015-11-09 18:22:56 +09: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) . ' <-- ';
}
}