[Pkg-owncloud-commits] [owncloud] 35/67: always use '/' as directory seperator
David Prévot
taffit at moszumanska.debian.org
Fri Jun 27 23:58:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 6b85fe819c4c944ae27a1588d809f4dfeb0d0259
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Tue Jun 24 09:29:11 2014 +0200
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 28cd9e5..07ac1a7 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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list