aboutsummaryrefslogtreecommitdiffstats
path: root/include/system_unavailable.php
diff options
context:
space:
mode:
authorken restivo <ken@restivo.org>2015-11-20 13:03:16 -0800
committerken restivo <ken@restivo.org>2015-11-20 13:03:16 -0800
commitf164ddf155a352625bd48e0307f2e81e24de9453 (patch)
tree8ed922e8edc49f59d4b8228559f405bdf63dd691 /include/system_unavailable.php
parentd9ddf7561f34ca4e83834e9144d2a4f25bc9fa0a (diff)
downloadvolse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.tar.gz
volse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.tar.bz2
volse-hubzilla-f164ddf155a352625bd48e0307f2e81e24de9453.zip
Report correct HTTP error code, i.e. for API callers.
Diffstat (limited to 'include/system_unavailable.php')
-rw-r--r--include/system_unavailable.php1
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>