Update uri.php

This commit is contained in:
Namhyeon Go 2019-02-23 03:57:17 +09:00 committed by GitHub
parent 0b5ffc1579
commit 58578352a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,11 @@ if(!function_exists("read_route_all")) {
$d1 = explode("/index.php/", $d0[0]);
if(count($d1) > 1 && $d1[0] == "") {
$routes = explode("/", $d1[1]);
} else {
$d2 = explode("/", $d0[0]);
if(count($d2) > 0) {
$routes = array_slice($d2 , 1);
}
}
return $routes;