mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-13 21:05:11 -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) {
|
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');
|
||||||
|
Loading…
Reference in New Issue
Block a user