Return HTTP 500 on fatal error
This makes it clear that something is broken. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
fe549c4e19
commit
353aadbafb
@ -12,6 +12,7 @@ if (! defined('PHPMYADMIN')) {
|
||||
}
|
||||
|
||||
if (! defined('TESTSUITE')) {
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user