Use SPL when searching/listing files.
|Priority:||Should have||Due date:|
|Assignee:||Karsten Dambekalns||% Done:||
|Target version:||TYPO3 Flow Base Distribution - 0.1|
The SPL provides some nice iterators for (recursively) working through directories, there even is a way to nicely implement a !DirectoryIterator variant that omits . and .. automagically.
This would provide a nice way to replace custom opendir-read-check-for-dot.
|related to FE User Management - Bug #28475: activation link in mail||Resolved||2011-07-26|
Updated by Robert Lemke about 6 years ago
Where do you want to use the DirectoryIterator where it is not used yet?
The Package Manager has a custom check for "." because it also wants to omit hidden files.