summaryrefslogtreecommitdiff
path: root/includes/engelsystem_provider.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-09 17:46:57 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-09 17:46:57 +0200
commitc06573bb875957ab70c808ad469bf0f6173fa2ad (patch)
tree611275c5c37e5b5046dee93f866bd0c7a3139024 /includes/engelsystem_provider.php
parent0766470f264ff87378d2e33d2aa5a865a1a3f66c (diff)
add maintenance mode
Diffstat (limited to 'includes/engelsystem_provider.php')
-rw-r--r--includes/engelsystem_provider.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php
index 2add641a..057d5513 100644
--- a/includes/engelsystem_provider.php
+++ b/includes/engelsystem_provider.php
@@ -50,6 +50,11 @@ require_once realpath(__DIR__ . '/../config/config.default.php');
if (file_exists(realpath(__DIR__ . '/../config/config.php')))
require_once realpath(__DIR__ . '/../config/config.php');
+if ($maintenance_mode) {
+ echo file_get_contents(__DIR__ . '/../public/maintenance.html');
+ die();
+}
+
require_once realpath(__DIR__ . '/../includes/pages/admin_active.php');
require_once realpath(__DIR__ . '/../includes/pages/admin_arrive.php');
require_once realpath(__DIR__ . '/../includes/pages/admin_free.php');