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:
Michal Čihař 2016-09-27 13:22:30 +02:00
parent fe549c4e19
commit 353aadbafb

View File

@ -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');
}
?>