Report correct HTTP error code, i.e. for API callers.
This commit is contained in:
parent
d9ddf7561f
commit
f164ddf155
@ -1,6 +1,7 @@
|
||||
<?php /** @file */
|
||||
|
||||
function system_down() {
|
||||
header('HTTP/1.0 503 Service Unavailable');
|
||||
echo <<< EOT
|
||||
<html>
|
||||
<head><title>System Unavailable</title></head>
|
||||
|
Reference in New Issue
Block a user