]> git.wh0rd.org - tt-rss.git/blobdiff - include/sanity_check.php
remove htmlpurifier
[tt-rss.git] / include / sanity_check.php
index 11da859210b57a1c5632898919eb0d9e16a0e3b6..2195945be8b982aefd4bf2dd75c4485c6cde1175 100644 (file)
                                $array_push($errors, "Configuration file (config.php) has incorrect version. Update it with new options from config.php-dist and set CONFIG_VERSION to the correct value.");
                        }
 
-                       $purifier_cache_dir = CACHE_DIR . "/htmlpurifier";
-
-                       if (!is_writable($purifier_cache_dir)) {
-                               array_push($errors, "HTMLPurifier cache directory should be writable by anyone (chmod -R 777 $purifier_cache_dir)");
-                       }
-
                        if (!is_writable(CACHE_DIR . "/images")) {
                                array_push($errors, "Image cache is not writable (chmod -R 777 ".CACHE_DIR."/images)");
                        }