lib/elFinderVolumeDriver.class.php 1 location
|
@@ 4570-4574 (lines=5) @@
|
| 4567 |
|
$result = []; |
| 4568 |
|
|
| 4569 |
|
$timeout = $this->options['searchTimeout'] ? $this->searchStart + $this->options['searchTimeout'] : 0; |
| 4570 |
|
if ($timeout && $timeout < time()) { |
| 4571 |
|
$this->setError(elFinder::ERROR_SEARCH_TIMEOUT, $this->path($this->encode($path))); |
| 4572 |
|
|
| 4573 |
|
return $result; |
| 4574 |
|
} |
| 4575 |
|
|
| 4576 |
|
foreach ($this->scandirCE($path) as $p) { |
| 4577 |
|
elFinder::extendTimeLimit($this->options['searchTimeout'] + 30); |
lib/elFinderVolumeDropbox.class.php 1 location
|
@@ 698-701 (lines=4) @@
|
| 695 |
|
|
| 696 |
|
if ($res) { |
| 697 |
|
foreach ($res as $raw) { |
| 698 |
|
if ($timeout && $timeout < time()) { |
| 699 |
|
$this->setError(elFinder::ERROR_SEARCH_TIMEOUT, $this->path($this->encode($path))); |
| 700 |
|
break; |
| 701 |
|
} |
| 702 |
|
|
| 703 |
|
$raw = unserialize($raw); |
| 704 |
|
if ($stat = $this->parseRaw($raw)) { |
lib/elFinderVolumeLocalFileSystem.class.php 1 location
|
@@ 1256-1260 (lines=5) @@
|
| 1253 |
|
$result = []; |
| 1254 |
|
|
| 1255 |
|
$timeout = $this->options['searchTimeout'] ? $this->searchStart + $this->options['searchTimeout'] : 0; |
| 1256 |
|
if ($timeout && $timeout < time()) { |
| 1257 |
|
$this->setError(elFinder::ERROR_SEARCH_TIMEOUT, $this->path($this->encode($path))); |
| 1258 |
|
|
| 1259 |
|
return $result; |
| 1260 |
|
} |
| 1261 |
|
elFinder::extendTimeLimit($this->options['searchTimeout'] + 30); |
| 1262 |
|
|
| 1263 |
|
$match = []; |
lib/elFinderVolumeMySQL.class.php 1 location
|
@@ 371-374 (lines=4) @@
|
| 368 |
|
|
| 369 |
|
if (($res = $this->query($sql))) { |
| 370 |
|
while ($row = $res->fetch_assoc()) { |
| 371 |
|
if ($timeout && $timeout < time()) { |
| 372 |
|
$this->setError(elFinder::ERROR_SEARCH_TIMEOUT, $this->path($this->encode($path))); |
| 373 |
|
break; |
| 374 |
|
} |
| 375 |
|
|
| 376 |
|
if (! $this->mimeAccepted($row['mime'], $mimes)) { |
| 377 |
|
continue; |