Task #497
Remove createDirectoryRecursively() and replace by recursive mkdir() call
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
Associated revisions
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.