forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
This commit is contained in:
commit
b4efebae55
3 changed files with 8 additions and 5 deletions
2
mod.php
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue