You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smartyexception.php 295B

123456789101112131415
  1. <?php
  2. /**
  3. * Smarty exception class
  4. *
  5. * @package Smarty
  6. */
  7. class SmartyException extends Exception
  8. {
  9. public static $escape = false;
  10. public function __toString()
  11. {
  12. return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
  13. }
  14. }