Files
development/www/lib/smarty-4.3.0/libs/sysplugins/smartyexception.php
Clemens Schwaighofer 90e418ba24 Smarty update to 4.3.0
2023-01-05 10:38:51 +09:00

20 lines
334 B
PHP

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