forked from Cavemanon/cavepaintings
better test router
This commit is contained in:
@@ -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)
|
||||
$_SERVER["PHP_SELF"] = '/';
|
||||
$_GET['q'] = $_SERVER["REQUEST_URI"];
|
||||
$_GET['q'] = explode("?", $_SERVER["REQUEST_URI"])[0];
|
||||
error_log($_GET['q']);
|
||||
require_once "index.php";
|
||||
|
Reference in New Issue
Block a user