library/smarty/libs/sysplugins/smartyexception.php
author Markus Bröker <broeker.markus@googlemail.com>
Sat, 14 Nov 2015 02:40:44 +0100
changeset 24 ef2914b7af78
parent 0 4869aea77e21
permissions -rw-r--r--
Request::hasPost: Array ist immer gesetzt, Inhalt variiert

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