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 334B

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