mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -84,7 +84,7 @@ class Clean
|
||||
$value = htmlentities($value);
|
||||
}
|
||||
|
||||
if (! isset($purifier)) {
|
||||
if (! $purifier instanceof HTMLPurifier) {
|
||||
// initialize HTML Purifier here since this is the only user
|
||||
$p_config = HTMLPurifier_Config::createDefault();
|
||||
$p_config->set('Cache.SerializerPath', Config::get('temp_dir', '/tmp'));
|
||||
|
Reference in New Issue
Block a user