Task #497

Remove createDirectoryRecursively() and replace by recursive mkdir() call

Added by Karsten Dambekalns about 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-05-09
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Utility
Target version:- Estimated time:0.00 hour
Sprint: Has patch:
PHP Version: Complexity:

Description

createDirectoryRecursively() in F3_FLOW3_Utility_Files can be removed, as PHP since 5.0.0 supports creating directories recursively with mkdir() through a simple method argument:
mkdir ( string $pathname [, int $mode [, bool $recursive ]] )


Related issues

related to TYPO3.Flow - Bug #491: FLOW3 not working under Windows Resolved 2008-05-08

Associated revisions

Revision 524c55fd
Added by Karsten Dambekalns about 7 years ago

Simplified createDirectoryRecursively() in F3_FLOW3_Utility_Files, fixes #497.

History

#1 Updated by Karsten Dambekalns about 7 years ago

Removing this is not a good idea, as we currently have control over the umask/mode when creating the directories, we need to keep this. Thus it seems better to keep the method but simplify it's internals to just use native PHP support for recursion.

#2 Updated by Karsten Dambekalns about 7 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r822.

Also available in: Atom PDF