friendica/vendor/smarty/smarty/libs/sysplugins/smartyexception.php
2018-01-14 13:35:25 -05:00

17 lines
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) . ' <-- ';
}
}