better test router
This commit is contained in:
parent
dda634b068
commit
f3a3c76988
1 changed files with 2 additions and 1 deletions
|
@ -18,5 +18,6 @@ if(preg_match('/\.(?:png|jpg|jpeg|gif|css|js|php)(\?.*)?$/', $_SERVER["REQUEST_U
|
||||||
|
|
||||||
// all other requests (use shimmie routing based on URL)
|
// all other requests (use shimmie routing based on URL)
|
||||||
$_SERVER["PHP_SELF"] = '/';
|
$_SERVER["PHP_SELF"] = '/';
|
||||||
$_GET['q'] = $_SERVER["REQUEST_URI"];
|
$_GET['q'] = explode("?", $_SERVER["REQUEST_URI"])[0];
|
||||||
|
error_log($_GET['q']);
|
||||||
require_once "index.php";
|
require_once "index.php";
|
||||||
|
|
Reference in a new issue