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
This commit is contained in:
Michal Čihař 2013-06-11 08:57:49 +02:00
parent be6d6733d9
commit d34f8d5182

View File

@ -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();
?>
<!DOCTYPE HTML>
<html lang="<?php echo $lang; ?>" dir="<?php echo $dir; ?>">