always use '/' as directory seperator

remotes/origin/ldap_group_count
Bjoern Schiessle 2014-06-24 09:29:11 +07:00
parent 6a4a474aa9
commit 6b85fe819c
1 changed files with 1 additions and 1 deletions

@ -527,7 +527,7 @@ class Keymanager {
isset($path_parts['dirname'])
&& !$view->file_exists($basePath . '/' . $path_parts['dirname'])
) {
$sub_dirs = explode(DIRECTORY_SEPARATOR, $basePath . '/' . $path_parts['dirname']);
$sub_dirs = explode('/', $basePath . '/' . $path_parts['dirname']);
$dir = '';
foreach ($sub_dirs as $sub_dir) {
$dir .= '/' . $sub_dir;