Use the internal ownCloud view
This commit is contained in:
parent
d659d8e193
commit
b13b19c58b
|
@ -22,7 +22,7 @@ $result = array();
|
|||
if ($dir) {
|
||||
$dirlisting = true;
|
||||
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
|
||||
$dirContent = opendir($fullpath);
|
||||
$dirContent = $view->opendir($fullpath);
|
||||
$i = 0;
|
||||
while($entryName = readdir($dirContent)) {
|
||||
if ( $entryName != '.' && $entryName != '..' ) {
|
||||
|
|
Loading…
Reference in New Issue