From 6b85fe819c4c944ae27a1588d809f4dfeb0d0259 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 24 Jun 2014 09:29:11 +0200 Subject: [PATCH] always use '/' as directory seperator --- apps/files_encryption/lib/keymanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5