IP/libs/sysplugins/smartyexception.php
Robin Kloppe 0795a87ecd Update Smarty und RedBean
Smarty: 3.1.30 - Redbean: 5.0.0
2018-01-28 19:29:49 +01: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) . ' <-- ';
}
}