Update uri.php

This commit is contained in:
Namhyeon Go 2019-02-22 23:52:04 +09:00 committed by GitHub
parent 8fec3be4e2
commit eb5f05c444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ if(!function_exists("read_route")) {
$request_uri = $_SERVER['REQUEST_URI'];
$d = explode("/index.php/", $request_uri);
if(count($d) > 1 && $d[0] == "") {
$route = $d[1];
$route = str_replace("../", "", $d[1]);
}
if(empty($route)) {