lib/private/Files/Storage/Common.php 1 location
|
@@ 298-300 (lines=3) @@
|
| 295 |
|
if (is_resource($dh)) { |
| 296 |
|
while (($item = readdir($dh)) !== false) { |
| 297 |
|
if (\OC\Files\Filesystem::isIgnoredDir($item)) continue; |
| 298 |
|
if (strstr(strtolower($item), strtolower($query)) !== false) { |
| 299 |
|
$files[] = $dir . '/' . $item; |
| 300 |
|
} |
| 301 |
|
if ($this->is_dir($dir . '/' . $item)) { |
| 302 |
|
$files = array_merge($files, $this->searchInDir($query, $dir . '/' . $item)); |
| 303 |
|
} |
lib/private/Files/Storage/Local.php 1 location
|
@@ 331-333 (lines=3) @@
|
| 328 |
|
continue; |
| 329 |
|
$physicalItem = $physicalDir . '/' . $item; |
| 330 |
|
|
| 331 |
|
if (strstr(strtolower($item), strtolower($query)) !== false) { |
| 332 |
|
$files[] = $dir . '/' . $item; |
| 333 |
|
} |
| 334 |
|
if (is_dir($physicalItem)) { |
| 335 |
|
$files = array_merge($files, $this->searchInDir($query, $dir . '/' . $item)); |
| 336 |
|
} |