move Smarty exceptions into syslibs folder

This commit is contained in:
Uwe Tews
2014-11-09 06:42:20 +01:00
parent 4edb5fce30
commit 230c5787e6
3 changed files with 56 additions and 52 deletions
+15
View File
@@ -0,0 +1,15 @@
<?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) . ' <-- ';
}
}