Hi: this contribution works breat, thank you!

this addon allow you to make directory when you update category, save you some time going through creating category in case of missing or deleted, or manually ftp, or going through catimagessetup...

in catalog/admin/categories.php

find:

rename($old_dir_name, $dir_to_make);

replace with:

if (is_dir($old_dir_name) == true) {
// rename directory if changing categories name
rename($old_dir_name, $dir_to_make);
} else {
// if directory are missing when update, then recreate directory
mkdir($dir_to_make,0755);
chmod($dir_to_make,0777);
}


zip file incude full block!



More...