We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e237c57 commit 383490bCopy full SHA for 383490b
1 file changed
view.php
@@ -146,7 +146,7 @@
146
$lpm1 = $lastpage - 1;
147
$adjacents = 3;
148
$pagination = '<div style="width: inherit; word-wrap: break-word;">';
149
- $url = preg_replace('/&page=(\d+)/i', '', $_SERVER['REQUEST_URI']);
+ $url = preg_replace('/&page=(\d+)/i', '', getRelativePath('view.php'));
150
151
if ($page_num_request > 1) $pagination .= "<a href=\"$url&page=$prev\">←</a> "; else
152
$pagination .= "← ";
@@ -311,4 +311,3 @@
311
}
312
313
require 'includes/footer.inc.php';
314
-
0 commit comments