aboutsummaryrefslogtreecommitdiffstats
path: root/include/system_unavailable.php
diff options
context:
space:
mode:
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>