Merge pull request #140 from gnh1201/patch-master-20210817
Fix #138 Routing failure
This commit is contained in:
commit
da907aa4c1
|
@ -69,7 +69,7 @@ if(!is_fn("read_route")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strpos($uri, $base_route) == 0) {
|
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) {
|
foreach($_routes as $_route) {
|
||||||
if($_route != "index.php") {
|
if($_route != "index.php") {
|
||||||
$route = $_route;
|
$route = $_route;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user