From 58578352a1f1306f72bdfc6acbb9d9e58acd7a3d Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sat, 23 Feb 2019 03:57:17 +0900 Subject: [PATCH] Update uri.php --- system/uri.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/uri.php b/system/uri.php index afd6ff5..e78c2ff 100644 --- a/system/uri.php +++ b/system/uri.php @@ -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;