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:
parent
be6d6733d9
commit
d34f8d5182
@ -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; ?>">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user