aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-07-03 13:00:08 +0200
committerMaZderMind2015-07-03 13:00:08 +0200
commitfa9baf320c7d4ffda01dbc1509a54390cc9bd1db (patch)
treec776931af7074b2690a41971d6f52d57715936a0
parent6fcc2a52885e8e20925ade9619b9fcd98ffea5db (diff)
Fix BaseURL from Config
Diffstat (limited to '')
-rw-r--r--lib/helper.php4
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'];