Update uri.php

This commit is contained in:
Namhyeon Go 2021-08-17 14:48:35 +09:00 committed by GitHub
parent 74363530ec
commit 8a3c90d37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ if(!is_fn("read_route")) {
}
if(strpos($uri, $base_route) == 0) {
$_routes = explode("/", substr($nevt['self'], strlen($base_route)));
$_routes = explode("/", substr($uri, strlen($base_route)));
foreach($_routes as $_route) {
if($_route != "index.php") {
$route = $_route;