diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index a76b247dd..d756b914d 100644 --- a/inc/common.php +++ b/inc/common.php @@ -67,7 +67,7 @@ function getBaseURL($abs=false){ if(!$abs){ $dir = dirname($_SERVER['PHP_SELF']).'/'; $dir = preg_replace('#//#','/',$dir); - $dir = preg_replace('#\/$#','/',$dir); #bugfix for weird WIN behaviour + $dir = preg_replace('#\\\/#','/',$dir); #bugfix for weird WIN behaviour return $dir; } |