Skip to content
Snippets Groups Projects
Commit 919eeb46 authored by andi's avatar andi
Browse files

added trailing slash when basedir is set

darcs-hash:20050510163354-9977f-9d0daa1ff8878899260f410f7e805d65a5fb3e46.gz
parent e1fcbe1e
No related branches found
No related tags found
No related merge requests found
......@@ -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']){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment