argh args
This commit is contained in:
parent
631cf29424
commit
4a5863b750
@ -81,9 +81,10 @@ 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];
|
$_SERVER['REQUEST_URI'] = $event->args[0];
|
||||||
if (isset($event->args[1])) {
|
if (isset($event->args[1])) {
|
||||||
parse_str($event->args[1], $_GET);
|
parse_str($event->args[1], $_GET);
|
||||||
|
$_SERVER['REQUEST_URI'] .= "?" . $event->args[1];
|
||||||
}
|
}
|
||||||
send_event(new PageRequestEvent($event->args[0]));
|
send_event(new PageRequestEvent($event->args[0]));
|
||||||
$page->display();
|
$page->display();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user