From d34f8d5182b34519de2b5b6778d09c49da5111dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 11 Jun 2013 08:57:49 +0200 Subject: [PATCH] Disable response wrapper in fatal error path There might be some critical pieces (eg. json, pcre or session) missing and there is no way to make Response class working at this point. Fixes #3981 --- libraries/error.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/error.inc.php b/libraries/error.inc.php index 7e3f8ae118..c48a7f1422 100644 --- a/libraries/error.inc.php +++ b/libraries/error.inc.php @@ -13,10 +13,6 @@ if (! defined('PHPMYADMIN')) { if (! defined('TESTSUITE')) { header('Content-Type: text/html; charset=utf-8'); } - -require_once 'libraries/Response.class.php'; -PMA_Response::getInstance()->disable(); - ?>