mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
15 lines
295 B
PHP
15 lines
295 B
PHP
<?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) . ' <-- ';
|
|
}
|
|
}
|