Stop working when there is an error in the config

This commit is contained in:
Mark Schouten 2014-11-21 11:35:29 +01:00
parent 25fb62fd4f
commit 4d0dcf6e48

View file

@ -87,6 +87,13 @@ if (!is_logged_in()) {
exit(0); exit(0);
} }
if ($blocklogin === TRUE) {
echo "<h2>There is an error in your config!</h2>";
echo "<a href=\"index.php\">Refresh</a>";
exit(0);
}
?> ?>
<body> <body>
<div id="wrap"> <div id="wrap">