Update uri.php

This commit is contained in:
Namhyeon Go 2018-03-09 21:34:38 +09:00 committed by GitHub
parent 1e39a90836
commit 493c29b71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<?php
if(!function_exists("base_url")) {
function base_url() {
global $config;
$config = get_config();
$base_url = '';
if(!array_key_empty("base_url", $config)) {