diff options
author | MaZderMind | 2015-07-03 13:00:08 +0200 |
---|---|---|
committer | MaZderMind | 2015-07-03 13:00:08 +0200 |
commit | fa9baf320c7d4ffda01dbc1509a54390cc9bd1db (patch) | |
tree | c776931af7074b2690a41971d6f52d57715936a0 | |
parent | 6fcc2a52885e8e20925ade9619b9fcd98ffea5db (diff) |
Fix BaseURL from Config
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']; |