mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 12:14:12 +02:00
new $smarty->debug options
- new feature $smarty->debug = true; => overwrite existing Debug Console window (old behaviour) $smarty->debug = 2; => individual Debug Console window by template name
This commit is contained in:
@@ -221,6 +221,7 @@ class Smarty_Internal_Debug extends Smarty_Internal_Data
|
||||
$_template->assign('assigned_vars', $_assigned_vars);
|
||||
$_template->assign('config_vars', $_config_vars);
|
||||
$_template->assign('execution_time', microtime(true) - $smarty->start_time);
|
||||
$_template->assign('display_mode', $smarty->debugging == 2 || !$full);
|
||||
echo $_template->fetch();
|
||||
if ($full) {
|
||||
self::$ignore_uid = array();
|
||||
|
||||
Reference in New Issue
Block a user