forked from leftypol/leftypol
Fix for page next/prev buttons in mod.php
This commit is contained in:
parent
3defed1c0b
commit
4de6598440
2 changed files with 25 additions and 10 deletions
4
mod.php
4
mod.php
|
@ -59,6 +59,10 @@
|
|||
loginForm(false, false, '?' . $query);
|
||||
}
|
||||
} else {
|
||||
// Redirect (for index pages)
|
||||
if(count($_GET) == 2 && isset($_GET['status']) && isset($_GET['r']))
|
||||
header('Location: ' . $_GET['r'], true, $_GET['status']);
|
||||
|
||||
// A sort of "cache"
|
||||
// Stops calling preg_quote and str_replace when not needed; only does it once
|
||||
$regex = Array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue