Copy a full directory in another location.
App::Utility()->dirFullCopy(src,desc,[overwrite])
Parameter |
Description |
---|---|
src |
Source file path |
des |
Definition file path |
overwrite |
Set true to overwrite existing files. By default set false. |
See bellow example:
App::Utility()->dirFullCopy(
App::Config()->baseDir('/test'),
App::Config()->baseDir('/test2'),
true // Optional
);