manually merge Daku's get/post q thing, somehow automatic merge failed

This commit is contained in:
Shish 2015-04-18 10:45:47 +01:00
parent 598df41b1d
commit 9a63322b2f

View file

@ -83,7 +83,7 @@ try {
$user = _get_user();
send_event(new InitExtEvent());
if(!is_cli()) { // web request
send_event(new PageRequestEvent(@$_GET["q"]));
send_event(new PageRequestEvent(@$_POST["q"]?:@$_GET["q"]));
$page->display();
}
else { // command line request