mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01: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