Code Duplication    Length = 8-9 lines in 2 locations

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

@@ 1198-1206 (lines=9) @@
1195
1196
1197
                if ($display) {
1198
                    if ($this->debugging)
1199
                    {
1200
                        // capture time for debugging info
1201
                        $_params = array();
1202
                        require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1203
                        $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $_debug_start_time;
1204
                        require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php');
1205
                        $_smarty_results .= smarty_core_display_debug_console($_params, $this);
1206
                    }
1207
                    if ($this->cache_modified_check) {
1208
                        $_server_vars = ($this->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
1209
                        $_last_modified_date = @substr($_server_vars['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_server_vars['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3);
@@ 1303-1310 (lines=8) @@
1300
1301
        if ($display) {
1302
            if (isset($_smarty_results)) { echo $_smarty_results; }
1303
            if ($this->debugging) {
1304
                // capture time for debugging info
1305
                $_params = array();
1306
                require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1307
                $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time);
1308
                require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php');
1309
                echo smarty_core_display_debug_console($_params, $this);
1310
            }
1311
            error_reporting($_smarty_old_error_level);
1312
            return;
1313
        } else {