summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-26 17:25:03 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-26 17:25:03 +0100
commitb34a71e20d789b281ca38c41376344f67dd8795d (patch)
treec41ccabd02d7e078bae002f649a3f50c3c4da7ad /public
parentfdd4b44c0edf6b146f767f19ea13544a59c35eed (diff)
fix news start page bug
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 fb0d7966..51aa946c 100644
--- a/public/index.php
+++ b/public/index.php
@@ -70,7 +70,7 @@ $free_pages = array(
);
// Gewünschte Seite/Funktion
-$p = isset($user) ? "news" : "login";
+$_REQUEST['p'] = isset($user) ? "news" : "login";
if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (in_array($_REQUEST['p'], $free_pages) || in_array($_REQUEST['p'], $privileges))) {
$p = $_REQUEST['p'];