[Pkg-owncloud-commits] [owncloud] 381/394: work arround to detect /Shared as folder
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:55 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit 403ecaff3465bac139b04f9baae6ec41a875c012
Author: Björn Schießle <schiessle at owncloud.com>
Date: Tue Mar 12 16:08:06 2013 +0100
work arround to detect /Shared as folder
---
lib/filestorage/local.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 7a78d4e..032739a 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -20,6 +20,10 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
return opendir($this->datadir.$path);
}
public function is_dir($path) {
+ //work arround to detect /Shared as folder, only needed for OC4.5
+ if($path == "files/Shared") {
+ return true;
+ }
if(substr($path,-1)=='/') {
$path=substr($path,0,-1);
}
--
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