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) {
|
if ($dir) {
|
||||||
$dirlisting = true;
|
$dirlisting = true;
|
||||||
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
|
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
|
||||||
$dirContent = opendir($fullpath);
|
$dirContent = $view->opendir($fullpath);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while($entryName = readdir($dirContent)) {
|
while($entryName = readdir($dirContent)) {
|
||||||
if ( $entryName != '.' && $entryName != '..' ) {
|
if ( $entryName != '.' && $entryName != '..' ) {
|
||||||
|
|
Loading…
Reference in a new issue