We like to keep our files / folders neat, clean and organized. So, we have a folder for each of the property agency, together with several sub-folders. (One to store negotiator’s profile photo, one to store secondary listing’s photo, one to store images used in content pages, development projects, etc)
However, this require manual creation previously, and we do “carelessly”, or somehow forgot to create some of the folders, and results in unnecessary system errors. To fix this, we’ve write a code which now detects whether the destination folder exist, if not, then create the folder automatically.
Nothing fancy, but it’s working great, it do reduces unnecessary system errors, and more importantly, it save us more times to create the folders manually all the times, which means, we got more times to looks into other features now