![]() |
12-14-2021, 09:41 AM
(This post was last modified: 12-14-2021, 10:59 AM by daniel2912. Edit Reason: Added CodeIgniter Version )
Codeigniter 4.1.5: Helper function directory_mirror() throws an error if destination directory exists (with overwrite option true), because there is no check whether directory already exists (filesystem_helper.php line 94).
The overwrite option only applies to existing files.
However, if you think the option should extend to existing directories as well, please submit an issue report to GitHub https://github.com/codeigniter4/CodeIgniter4/issues
Thanks for reply - I submit an issue because the name of the function (* mirror *) suggests working with subdirectories ...
|
Welcome Guest, Not a member yet? Register Sign In |