+ if (!is_writable(CACHE_DIR . "/images")) {
+ $err_msg = "Image cache is not writable (chmod -R 777 ".CACHE_DIR."/images)";
+ }
+
+ if (!is_writable(CACHE_DIR . "/export")) {
+ $err_msg = "Data export cache is not writable (chmod -R 777 ".CACHE_DIR."/export)";
+ }
+