set REQUEST_URI in get-page

This commit is contained in:
Shish 2020-10-26 16:26:25 +00:00
parent 360a46e09b
commit 345c64b821
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ class AdminPage extends Extension
} }
if ($event->cmd == "get-page") { if ($event->cmd == "get-page") {
global $page; global $page;
$_SERVER['REQUEST_URI'] = $event->args[0] . "?" . $event->args[1];
if (isset($event->args[1])) { if (isset($event->args[1])) {
parse_str($event->args[1], $_GET); parse_str($event->args[1], $_GET);
} }