Create uri.php
This commit is contained in:
parent
3f971f6ad2
commit
b74c6fb531
13
system/uri.php
Normal file
13
system/uri.php
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user