Feature #1

Use SPL when searching/listing files.

Added by Karsten Dambekalns almost 15 years ago. Updated almost 11 years ago.

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

0%

Estimated time:
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 ResolvedBernhard Baumgartl, datamints GmbH2011-07-26

Actions
#1

Updated by Robert Lemke over 14 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 14 years ago

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

Updated by Helmut Winkelbach 9 months ago

  • Related to Bug #93169: 500 error, [CRITICAL] request="42945d6a42cae" added
#6

Updated by Helmut Winkelbach 9 months ago

  • Related to deleted (Bug #93169: 500 error, [CRITICAL] request="42945d6a42cae")

Also available in: Atom PDF