library/smarty/libs/sysplugins/smartyexception.php
author Markus Broeker<broeker.markus@googlemail.com>
Sun, 14 Feb 2016 14:26:01 +0100
changeset 35 e21fb19dc319
parent 0 4869aea77e21
permissions -rw-r--r--
Smarty Lizenz Datei hinzu gefügt

<?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) . ' <-- ';
    }
}