diff options
Diffstat (limited to '')
-rw-r--r-- | lib/helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php index 3dd6b69..e462089 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -2,8 +2,8 @@ function baseurl() { - if(isset($GLOBALS['CONFIG']['baseurl'])) - return $GLOBALS['CONFIG']['baseurl']; + if(isset($GLOBALS['CONFIG']['BASEURL'])) + return $GLOBALS['CONFIG']['BASEURL']; $base = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']) ? 'https://' : 'http://'; $base .= $_SERVER['HTTP_HOST']; |