Update uri.php

This commit is contained in:
Namhyeon Go 2018-03-09 21:37:50 +09:00 committed by GitHub
parent 9cda55dc69
commit 3119418ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,8 @@ if(!function_exists("base_url")) {
if(!function_exists("get_uri")) {
function get_uri() {
global $requests;
$requests = get_requests();
$request_uri = '';
if(!array_key_empty("REQUEST_URI", $_SERVER)) {
$request_uri = $requests["_URI"];