From: Bjoern Schiessle Date: Tue, 24 Jun 2014 07:29:11 +0000 (+0200) Subject: always use '/' as directory seperator X-Git-Tag: v7.0.0beta1~12^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b85fe819c4c944ae27a1588d809f4dfeb0d0259;p=nextcloud-server.git always use '/' as directory seperator --- diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php index 28cd9e52f91..07ac1a7bd59 100755 --- a/apps/files_encryption/lib/keymanager.php +++ b/apps/files_encryption/lib/keymanager.php @@ -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;