summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-09-14 22:19:10 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-09-14 22:19:10 +0200
commitfc90174dd8d7ff4417af478b3ee60646443488f9 (patch)
tree7f03daba84bc9bfbbe9e1e9be3c31a23e60cbbf8 /public
parent0eb9830818d935b0dc3e57eea49924e3b4ca18a0 (diff)
joined login+start
Diffstat (limited to 'public')
-rw-r--r--public/index.php2
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'];