f8ee6044f9
Remove all Smarty4 dedicated tests, all are done in the same test file like before
20 lines
334 B
PHP
20 lines
334 B
PHP
<?php
|
|
|
|
/**
|
|
* Smarty exception class
|
|
*
|
|
* @package Smarty
|
|
*/
|
|
class SmartyException extends Exception
|
|
{
|
|
public static $escape = false;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function __toString()
|
|
{
|
|
return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
|
|
}
|
|
}
|