mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Stop working when there is an error in the config
This commit is contained in:
parent
25fb62fd4f
commit
4d0dcf6e48
1 changed files with 7 additions and 0 deletions
|
@ -87,6 +87,13 @@ if (!is_logged_in()) {
|
|||
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>
|
||||
<div id="wrap">
|
||||
|
|
Loading…
Add table
Reference in a new issue