Get country name by code
App::Utility()->createDir(Path,[Permission])
Parameter |
Description |
---|---|
Path |
Path of the directory |
Permission |
Permission of file, By default it set 0777 |
See bellow example:
// Crate a new folder "test" in webroot/uploads/filemanager/
App::Utility()->createDir(App::Config()->fileManagerDir("/test"))