diff --git a/tools/smarty/sysplugins/smarty_internal_data.php b/tools/smarty/sysplugins/smarty_internal_data.php index 58a018b5c..943ac8508 100644 --- a/tools/smarty/sysplugins/smarty_internal_data.php +++ b/tools/smarty/sysplugins/smarty_internal_data.php @@ -16,7 +16,7 @@ class Smarty_Internal_Data { // class used for templates public $template_class = 'Smarty_Internal_Template'; - static public $duplicateLogs = array(); + /* static public $duplicateLogs = array(); static public $listLogs = null; public function __destruct() { @@ -38,7 +38,7 @@ class Smarty_Internal_Data { } file_put_contents(_PS_TOOL_DIR_.'smarty.duplicate.php', ' $_val) { if ($_key != '') { - @$this->duplicateLog[$_key][$backtrace[0]['line'].$backtrace[0]['file']] = array('line' => $backtrace[0]['line'], 'file' => $backtrace[0]['file']); + //@$this->duplicateLog[$_key][$backtrace[0]['line'].$backtrace[0]['file']] = array('line' => $backtrace[0]['line'], 'file' => $backtrace[0]['file']); $this->tpl_vars[$_key] = new Smarty_variable($_val, $nocache); } } } else { if ($tpl_var != '') { - @$this->duplicateLog[$tpl_var][$backtrace[0]['line'].$backtrace[0]['file']] = array('line' => $backtrace[0]['line'], 'file' => $backtrace[0]['file']); + //@$this->duplicateLog[$tpl_var][$backtrace[0]['line'].$backtrace[0]['file']] = array('line' => $backtrace[0]['line'], 'file' => $backtrace[0]['file']); $this->tpl_vars[$tpl_var] = new Smarty_variable($value, $nocache); } }