library/smarty/libs/sysplugins/smartyexception.php
author Markus Bröker <broeker.markus@googlemail.com>
Fri, 13 Nov 2015 04:05:39 +0100
changeset 8 54ea0099329c
parent 0 4869aea77e21
permissions -rw-r--r--
Kleinere Korrekturen vorm Schlafengehen

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