From fa9baf320c7d4ffda01dbc1509a54390cc9bd1db Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 3 Jul 2015 13:00:08 +0200 Subject: Fix BaseURL from Config --- lib/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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']; -- cgit v1.2.3