1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 04:42:19 -05:00

removed permissions test on htmlpurifier

This commit is contained in:
Nicolas Lœuillet 2014-07-23 13:35:19 +02:00
parent 6a4bbf0fe5
commit a818ff2000

View File

@ -12,7 +12,7 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
} }
} }
$writableFolders = array('cache', 'db', 'inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer'); $writableFolders = array('cache', 'db');
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');