|
@@ 1145-1154 (lines=10) @@
|
| 1142 |
|
} |
| 1143 |
|
} |
| 1144 |
|
|
| 1145 |
|
if ($this->debugging) { |
| 1146 |
|
// capture time for debugging info |
| 1147 |
|
$_params = array(); |
| 1148 |
|
require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); |
| 1149 |
|
$_debug_start_time = smarty_core_get_microtime($_params, $this); |
| 1150 |
|
$this->_smarty_debug_info[] = array('type' => 'template', |
| 1151 |
|
'filename' => $resource_name, |
| 1152 |
|
'depth' => 0); |
| 1153 |
|
$_included_tpls_idx = count($this->_smarty_debug_info) - 1; |
| 1154 |
|
} |
| 1155 |
|
|
| 1156 |
|
if (!isset($compile_id)) { |
| 1157 |
|
$compile_id = $this->compile_id; |
|
@@ 1848-1856 (lines=9) @@
|
| 1845 |
|
|
| 1846 |
|
function _smarty_include($params) |
| 1847 |
|
{ |
| 1848 |
|
if ($this->debugging) { |
| 1849 |
|
$_params = array(); |
| 1850 |
|
require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); |
| 1851 |
|
$debug_start_time = smarty_core_get_microtime($_params, $this); |
| 1852 |
|
$this->_smarty_debug_info[] = array('type' => 'template', |
| 1853 |
|
'filename' => $params['smarty_include_tpl_file'], |
| 1854 |
|
'depth' => ++$this->_inclusion_depth); |
| 1855 |
|
$included_tpls_idx = count($this->_smarty_debug_info) - 1; |
| 1856 |
|
} |
| 1857 |
|
|
| 1858 |
|
$this->_tpl_vars = array_merge($this->_tpl_vars, $params['smarty_include_vars']); |
| 1859 |
|
|