summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/init.php b/inc/init.php
index cef7da9f9..075469ddb 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -97,8 +97,7 @@ function getBaseURL($abs=false){
if($conf['canonical']) $abs = true;
if($conf['basedir']){
- $dir = $conf['basedir'];
-
+ $dir = $conf['basedir'].'/';
}elseif($_SERVER['SCRIPT_NAME']){
$dir = dirname($_SERVER['SCRIPT_NAME']).'/';
}elseif($_SERVER['DOCUMENT_ROOT'] && $_SERVER['SCRIPT_FILENAME']){