Create uri.php

This commit is contained in:
Namhyeon Go 2017-12-23 03:39:21 +09:00 committed by GitHub
parent 3f971f6ad2
commit b74c6fb531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
system/uri.php Normal file
View File

@ -0,0 +1,13 @@
<?php
if(!function_exists("base_url")) {
function base_url() {
global $config;
$base_url = '';
if(array_key_exists("base_url", $config)) {
$base_url = $config["base_url"];
}
return $base_url;
}
}