Skip to content
Snippets Groups Projects
Commit 9f015337 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix for webdav when having additional storage backends mounted

parent fb88bdba
Branches
No related tags found
No related merge requests found
......@@ -73,8 +73,8 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
$nodes = array();
// foreach(scandir($this->path) as $node) if($node!='.' && $node!='..') $nodes[] = $this->getChild($node);
if( OC_Filesystem::is_dir($this->path)){
$dh = OC_Filesystem::opendir($this->path);
if( OC_Filesystem::is_dir($this->path . '/')){
$dh = OC_Filesystem::opendir($this->path . '/');
while(( $node = readdir($dh)) !== false ){
if($node!='.' && $node!='..'){
$nodes[] = $this->getChild($node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment