library/smarty/libs/sysplugins/smartyexception.php
changeset 0 4869aea77e21
equal deleted inserted replaced
-1:000000000000 0:4869aea77e21
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * Smarty exception class
       
     5  *
       
     6  * @package Smarty
       
     7  */
       
     8 class SmartyException extends Exception {
       
     9     public static $escape = false;
       
    10 
       
    11     public function __toString() {
       
    12         return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
       
    13     }
       
    14 }