Code Duplication    Length = 8-9 lines in 2 locations

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

@@ 1192-1200 (lines=9) @@
1189
1190
1191
                if ($display) {
1192
                    if ($this->debugging)
1193
                    {
1194
                        // capture time for debugging info
1195
                        $_params = array();
1196
                        require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1197
                        $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $_debug_start_time;
1198
                        require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php');
1199
                        $_smarty_results .= smarty_core_display_debug_console($_params, $this);
1200
                    }
1201
                    if ($this->cache_modified_check) {
1202
                        $_server_vars = ($this->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
1203
                        $_last_modified_date = @substr($_server_vars['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_server_vars['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3);
@@ 1297-1304 (lines=8) @@
1294
1295
        if ($display) {
1296
            if (isset($_smarty_results)) { echo $_smarty_results; }
1297
            if ($this->debugging) {
1298
                // capture time for debugging info
1299
                $_params = array();
1300
                require_once(SMARTY_CORE_DIR . 'core.get_microtime.php');
1301
                $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time);
1302
                require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php');
1303
                echo smarty_core_display_debug_console($_params, $this);
1304
            }
1305
            error_reporting($_smarty_old_error_level);
1306
            return;
1307
        } else {