diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-09-14 22:19:10 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-09-14 22:19:10 +0200 |
commit | fc90174dd8d7ff4417af478b3ee60646443488f9 (patch) | |
tree | 7f03daba84bc9bfbbe9e1e9be3c31a23e60cbbf8 /public/index.php | |
parent | 0eb9830818d935b0dc3e57eea49924e3b4ca18a0 (diff) |
joined login+start
Diffstat (limited to 'public/index.php')
-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']; |