diff options
author | ken restivo <ken@restivo.org> | 2015-11-20 13:03:16 -0800 |
---|---|---|
committer | ken restivo <ken@restivo.org> | 2015-11-20 13:03:16 -0800 |
commit | f164ddf155a352625bd48e0307f2e81e24de9453 (patch) | |
tree | 8ed922e8edc49f59d4b8228559f405bdf63dd691 | |
parent | d9ddf7561f34ca4e83834e9144d2a4f25bc9fa0a (diff) | |
download | volse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.tar.gz volse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.tar.bz2 volse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.zip |
Report correct HTTP error code, i.e. for API callers.
-rw-r--r-- | include/system_unavailable.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system_unavailable.php b/include/system_unavailable.php index dfe7c5e6b..00a73fc38 100644 --- a/include/system_unavailable.php +++ b/include/system_unavailable.php @@ -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> |