Code Duplication    Length = 9-10 lines in 2 locations

htdocs/class/smarty/Smarty.class.php 2 locations

@@ 1151-1160 (lines=10) @@
1148
            }
1149
        }
1150
1151
        if ($this->debugging) {
1152
            // capture time for debugging info
1153
            $_params = array();
1154
            require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1155
            $_debug_start_time = smarty_core_get_microtime($_params, $this);
1156
            $this->_smarty_debug_info[] = array('type'      => 'template',
1157
                                                'filename'  => $resource_name,
1158
                                                'depth'     => 0);
1159
            $_included_tpls_idx = count($this->_smarty_debug_info) - 1;
1160
        }
1161
1162
        if (!isset($compile_id)) {
1163
            $compile_id = $this->compile_id;
@@ 1854-1862 (lines=9) @@
1851
1852
    function _smarty_include($params)
1853
    {
1854
        if ($this->debugging) {
1855
            $_params = array();
1856
            require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1857
            $debug_start_time = smarty_core_get_microtime($_params, $this);
1858
            $this->_smarty_debug_info[] = array('type'      => 'template',
1859
                                                  'filename'  => $params['smarty_include_tpl_file'],
1860
                                                  'depth'     => ++$this->_inclusion_depth);
1861
            $included_tpls_idx = count($this->_smarty_debug_info) - 1;
1862
        }
1863
1864
        $this->_tpl_vars = array_merge($this->_tpl_vars, $params['smarty_include_vars']);
1865