diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-12-18 11:33:34 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-12-18 11:33:34 +0100 |
commit | 84bf7058119bb2ed48358678be9c212a66c8cb83 (patch) | |
tree | 7ec4285b6b62fdfbc5f518fac516a0dacce79293 /library/Smarty/libs/Smarty.class.php | |
parent | 1b9722c65ac2169cadcf78376aaaf9d82721c9cd (diff) | |
download | volse-hubzilla-84bf7058119bb2ed48358678be9c212a66c8cb83.tar.gz volse-hubzilla-84bf7058119bb2ed48358678be9c212a66c8cb83.tar.bz2 volse-hubzilla-84bf7058119bb2ed48358678be9c212a66c8cb83.zip |
update smarty to 3.1.28 stable
Diffstat (limited to 'library/Smarty/libs/Smarty.class.php')
-rw-r--r-- | library/Smarty/libs/Smarty.class.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/library/Smarty/libs/Smarty.class.php b/library/Smarty/libs/Smarty.class.php index ac09d0a43..17457131c 100644 --- a/library/Smarty/libs/Smarty.class.php +++ b/library/Smarty/libs/Smarty.class.php @@ -27,7 +27,7 @@ * @author Uwe Tews * @author Rodney Rehm * @package Smarty - * @version 3.1.28-dev + * @version 3.1.28 */ /** @@ -118,7 +118,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.28-dev/77'; + const SMARTY_VERSION = '3.1.28'; /** * define variable scopes @@ -1094,8 +1094,12 @@ class Smarty extends Smarty_Internal_TemplateBase $tpl->tpl_vars[$_key] = new Smarty_Variable($_val); } } - if ($this->debugging) { + if ($this->debugging || $this->debugging_ctrl == 'URL') { $tpl->smarty->_debug = new Smarty_Internal_Debug(); + // check URL debugging control + if (!$this->debugging && $this->debugging_ctrl == 'URL') { + $tpl->smarty->_debug->debugUrl($tpl->smarty); + } } return $tpl; } |