mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #92 from tractorcow/pulls/fix-temp-files
Provide better temporary location for HTMLPurifier cache files
This commit is contained in:
commit
2a20037e49
@ -398,6 +398,7 @@ class Comment extends DataObject {
|
||||
$config->set('AutoFormat.AutoParagraph', true);
|
||||
$config->set('AutoFormat.Linkify', true);
|
||||
$config->set('URI.DisableExternalResources', true);
|
||||
$config->set('Cache.SerializerPath', getTempFolder());
|
||||
return new HTMLPurifier($config);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user