Update uri.php
This commit is contained in:
parent
8fec3be4e2
commit
eb5f05c444
|
@ -46,7 +46,7 @@ if(!function_exists("read_route")) {
|
||||||
$request_uri = $_SERVER['REQUEST_URI'];
|
$request_uri = $_SERVER['REQUEST_URI'];
|
||||||
$d = explode("/index.php/", $request_uri);
|
$d = explode("/index.php/", $request_uri);
|
||||||
if(count($d) > 1 && $d[0] == "") {
|
if(count($d) > 1 && $d[0] == "") {
|
||||||
$route = $d[1];
|
$route = str_replace("../", "", $d[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(empty($route)) {
|
if(empty($route)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user