From 9a63322b2fe5e434ce860f18ed19495703fb9eed Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 18 Apr 2015 10:45:47 +0100 Subject: [PATCH] manually merge Daku's get/post q thing, somehow automatic merge failed --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 1599e2c4..b149b355 100644 --- a/index.php +++ b/index.php @@ -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