#584 check permissions for HTMLPurifier/DefinitionCache/Serializer folder

This commit is contained in:
Nicolas Lœuillet 2014-07-12 22:08:48 +02:00
parent d423113b00
commit 58dbe10388

View File

@ -12,7 +12,7 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
} }
} }
$writableFolders = array('cache', 'db'); $writableFolders = array('cache', 'db', 'inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer');
foreach ($writableFolders as $folder) { foreach ($writableFolders as $folder) {
if (! is_writable($folder)) { if (! is_writable($folder)) {
die('The directory "' . $folder . '" must be writeable by your web server user'); die('The directory "' . $folder . '" must be writeable by your web server user');