mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-12 20:35:16 -05:00
#584 check permissions for HTMLPurifier/DefinitionCache/Serializer folder
This commit is contained in:
parent
d423113b00
commit
58dbe10388
@ -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) {
|
||||
if (! is_writable($folder)) {
|
||||
die('The directory "' . $folder . '" must be writeable by your web server user');
|
||||
|
Loading…
Reference in New Issue
Block a user