aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/libs/Smarty.class.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
committerplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
commit3282ddbe2ea305edbb0b3ae84b6860c0d90ab072 (patch)
tree6ba00ec1ae9242e4784fd37eae776ad34de183a3 /include/smarty/libs/Smarty.class.php
parentacbdd756cd2a8772b4d0ebfc3ede86e71c6a495a (diff)
update Smarty to official version 3.1.28
Diffstat (limited to '')
-rw-r--r--include/smarty/libs/Smarty.class.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/smarty/libs/Smarty.class.php b/include/smarty/libs/Smarty.class.php
index e4fc94733..17457131c 100644
--- a/include/smarty/libs/Smarty.class.php
+++ b/include/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/79';
+ 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;
}