Fix updateFolder() in OC_FileCache

This commit is contained in:
Michael Gapczynski 2012-05-06 20:11:10 -04:00
parent 41179a1456
commit aa0c3ddcfe
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ class OC_FileCache{
}else{
$view=new OC_FilesystemView(($root=='/')?'':$root);
}
$dh=$view->opendir($path);
$dh=$view->opendir($path.'/');
if($dh){//check for changed/new files
while (($filename = readdir($dh)) !== false) {
if($filename != '.' and $filename != '..'){