summaryrefslogtreecommitdiffstats
path: root/web/html/503.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-11 14:26:47 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-11 14:32:21 +0200
commita45b5073cac989da084f1bdb44cac71b6c6a61a8 (patch)
tree94ac53a96efa457befb6606dcce22797359fae1d /web/html/503.php
parent2164750f1e951c6985b3f9c29663bf94d16553e7 (diff)
downloadaur-a45b5073cac989da084f1bdb44cac71b6c6a61a8.tar.gz
aur-a45b5073cac989da084f1bdb44cac71b6c6a61a8.tar.xz
Implement a maintenance mode
Add support for a maintenance mode that disables both the website and the SSH interface and can be enabled easily using a configuration option. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/503.php')
-rw-r--r--web/html/503.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/html/503.php b/web/html/503.php
new file mode 100644
index 00000000..80eb4369
--- /dev/null
+++ b/web/html/503.php
@@ -0,0 +1,15 @@
+<?php
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
+
+html_header( __("Service Unavailable") );
+?>
+
+<div id="error-page" class="box 503">
+ <h2>503 - <?= __("Service Unavailable") ?></h2>
+ <p><?= __("Don't panic! This site is down due to maintenance. We will be back soon.") ?></p>
+</div>
+
+<?php
+html_footer(AURWEB_VERSION);
+