From 4d0dcf6e48e96ea8d7028af071985793154911e3 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 21 Nov 2014 11:35:29 +0100 Subject: [PATCH] Stop working when there is an error in the config --- index.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.php b/index.php index f50759b..f67d645 100644 --- a/index.php +++ b/index.php @@ -87,6 +87,13 @@ if (!is_logged_in()) { exit(0); } +if ($blocklogin === TRUE) { + + echo "

There is an error in your config!

"; + echo "Refresh"; + exit(0); +} + ?>