Feature #1

Use SPL when searching/listing files.

Added by Karsten Dambekalns almost 13 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Package
Start date:
Due date:
% Done:

0%

PHP Version:
Has patch:
Complexity:

Description

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 issues

Related to FE User Management - Bug #28475: activation link in mail Resolved 2011-07-26

History

#1 Updated by Robert Lemke over 12 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.

source:Packages/Core/Classes/PackageManager/T3P_Core_PackageManager.php#125 line 184

#2 Updated by Robert Lemke over 12 years ago

  • Status changed from New to Closed
  • Sprint set to fixed

Also available in: Atom PDF