aboutsummaryrefslogtreecommitdiffstats
path: root/include/system_unavailable.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-22 14:08:20 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-22 14:08:20 -0800
commit6f27e8db38c148172017255f9fe442c15b6a843a (patch)
tree3fe23e767da49448be5d199c405ff1f5d6bf0f4d /include/system_unavailable.php
parent292b02b58ccb18d10de948d30ccc0cc6ba345d5e (diff)
parent4c84a2ce615be12adfbeb1067b5c6652330027bb (diff)
downloadvolse-hubzilla-6f27e8db38c148172017255f9fe442c15b6a843a.tar.gz
volse-hubzilla-6f27e8db38c148172017255f9fe442c15b6a843a.tar.bz2
volse-hubzilla-6f27e8db38c148172017255f9fe442c15b6a843a.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Conflicts: version.inc
Diffstat (limited to 'include/system_unavailable.php')
-rw-r--r--include/system_unavailable.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/system_unavailable.php b/include/system_unavailable.php
index 00a73fc38..4e0e6717b 100644
--- a/include/system_unavailable.php
+++ b/include/system_unavailable.php
@@ -1,7 +1,9 @@
<?php /** @file */
+require_once("include/network.php");
+
function system_down() {
-header('HTTP/1.0 503 Service Unavailable');
+http_status(503, 'Service Unavailable');
echo <<< EOT
<html>
<head><title>System Unavailable</title></head>