software-admin-panel/include/smarty/sysplugins/smartyexception.php

16 lines
295 B
PHP
Raw Normal View History

2018-07-20 18:33:59 -05:00
<?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) . ' <-- ';
}
}