Report correct HTTP error code, i.e. for API callers.

This commit is contained in:
ken restivo 2015-11-20 13:03:16 -08:00
parent d9ddf7561f
commit f164ddf155

View file

@ -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>