Remove the leading slash from the filename for opendir

This commit is contained in:
Michael Gapczynski 2013-02-11 17:55:44 -05:00
parent 04bf8c1b66
commit 808a13922c

View file

@ -268,7 +268,7 @@ class Google extends \OC\Files\Storage\Common {
$name .= '.'.$extension;
}
}
$files[] = $name;
$files[] = basename($name);
// Cache entry for future use
$this->entries[$name] = $entry;
}