diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index 22a139ef..2a5a273b 100644 --- a/public/index.php +++ b/public/index.php @@ -27,7 +27,7 @@ if (isset ($_REQUEST['auth'])) json_auth_service(); // Gewünschte Seite/Funktion -$p = isset ($user) ? "news" : "start"; +$p = isset ($user) ? "news" : "login"; if (isset ($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && sql_num_query("SELECT * FROM `Privileges` WHERE `name`='" . sql_escape($_REQUEST['p']) . "' LIMIT 1") > 0) $p = $_REQUEST['p']; |