Skip to content
Snippets Groups Projects
Commit b13b19c5 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Use the internal ownCloud view

parent d659d8e1
Branches
No related tags found
No related merge requests found
......@@ -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 != '..' ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment