This commit is contained in:
Bruno Rybársky 2024-02-06 16:29:26 +01:00
parent 0b089f944a
commit cfe1cc196c

@ -10,6 +10,7 @@ function initRouter(): array
$request_uri = explode("/", $_SERVER["QUERY_STRING"]); $request_uri = explode("/", $_SERVER["QUERY_STRING"]);
echo $_SERVER["QUERY_STRING"];
print_r($request_uri); print_r($request_uri);
$request_uri = array_slice($request_uri, -3, 3); $request_uri = array_slice($request_uri, -3, 3);
print_r($request_uri); print_r($request_uri);