summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2013-01-29 22:11:33 +1100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-29 22:11:33 +1100
commite5bf2a91fc87c4a72885e40114b113daf740b17b (patch)
treea09aed233ace2e5179f629cf459968716b07c80a /mod.php
parent1ad71b33e21f4088f7dfae64b1efa3df3a9d8feb (diff)
Don't always redirect to dashboard on login
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 9de2c15b..a51f4bcd 100644
--- a/mod.php
+++ b/mod.php
@@ -91,7 +91,7 @@ $pages = array(
if (!$mod) {
- $pages = array('!!' => 'login');
+ $pages = array('!^(.+)?$!' => 'login');
} elseif (isset($_GET['status'], $_GET['r'])) {
header('Location: ' . $_GET['r'], true, (int)$_GET['status']);
exit;