Use the internal ownCloud view
This commit is contained in:
parent
d659d8e193
commit
b13b19c58b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue