Install Smarty Composer package

This commit is contained in:
Clemens Schwaighofer
2023-02-17 11:23:53 +09:00
parent 43e66edfd1
commit b696338324
450 changed files with 32222 additions and 1081 deletions

View File

@@ -0,0 +1,19 @@
<?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) . ' <-- ';
}
}