make get_base_href work better on windows
git-svn-id: file:///home/shish/svn/shimmie2/trunk@678 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
1f1987131d
commit
bcca76969e
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ function get_base_href() {
|
|||
}
|
||||
assert(!empty($ok_var));
|
||||
$dir = dirname($ok_var);
|
||||
if($dir == "/") $dir = "";
|
||||
if($dir == "/" || $dir == "\\") $dir = "";
|
||||
return $dir;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue