diff --git a/core/util.inc.php b/core/util.inc.php index ccc42070..a2a0aaa6 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -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; }