diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-24 09:29:11 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-24 09:29:11 +0200 |
commit | 6b85fe819c4c944ae27a1588d809f4dfeb0d0259 (patch) | |
tree | d02a4afd2fe7e798863bb3ed1d6e48b9860ee3e5 /apps | |
parent | 6a4a474aa94202c0d675b86fab384f509b9522f6 (diff) | |
download | nextcloud-server-6b85fe819c4c944ae27a1588d809f4dfeb0d0259.tar.gz nextcloud-server-6b85fe819c4c944ae27a1588d809f4dfeb0d0259.zip |
always use '/' as directory seperator
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_encryption/lib/keymanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |