diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-22 17:52:26 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-22 17:52:26 +1100 |
| commit | 4de6598440fb7bdc76a8c220181829a8096c391a (patch) | |
| tree | 7d07a9d7f99e2b371f01534ced851c26764041d8 /mod.php | |
| parent | 3defed1c0b265895c2058029af98e1f595d8b0bb (diff) | |
Fix for page next/prev buttons in mod.php
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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( |
