typo3/sysext/core/Classes/Database/QueryGenerator.php 1 location
|
@@ 790-795 (lines=6) @@
|
| 787 |
|
} |
| 788 |
|
} |
| 789 |
|
$d = dir(PATH_site . $fieldSetup['uploadfolder']); |
| 790 |
|
while (false !== ($entry = $d->read())) { |
| 791 |
|
if ($entry === '.' || $entry === '..') { |
| 792 |
|
continue; |
| 793 |
|
} |
| 794 |
|
$fileArray[] = $entry; |
| 795 |
|
} |
| 796 |
|
$d->close(); |
| 797 |
|
natcasesort($fileArray); |
| 798 |
|
foreach ($fileArray as $fileName) { |
typo3/sysext/core/Classes/Database/QueryView.php 1 location
|
@@ 927-932 (lines=6) @@
|
| 924 |
|
$out = ''; |
| 925 |
|
if ($fieldSetup['type'] === 'files') { |
| 926 |
|
$d = dir(PATH_site . $fieldSetup['uploadfolder']); |
| 927 |
|
while (false !== ($entry = $d->read())) { |
| 928 |
|
if ($entry === '.' || $entry === '..') { |
| 929 |
|
continue; |
| 930 |
|
} |
| 931 |
|
$fileArray[] = $entry; |
| 932 |
|
} |
| 933 |
|
$d->close(); |
| 934 |
|
natcasesort($fileArray); |
| 935 |
|
foreach ($fileArray as $fileName) { |