mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
gui: fixed calling html purifier settings
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -279,8 +279,8 @@ class ModelSearchMessage extends Model {
|
||||
require_once DIR_SYSTEM . 'helper/HTMLPurifier.standalone.php';
|
||||
|
||||
$config = HTMLPurifier_Config::createDefault();
|
||||
$config->set('URI', 'DisableExternal', 'true');
|
||||
$config->set('URI', 'DisableExternalResources', 'true');
|
||||
$config->set('URI.DisableExternal', 'true');
|
||||
$config->set('URI.DisableExternalResources', 'true');
|
||||
$config->set('Cache.SerializerPath', DIR_BASE . 'tmp');
|
||||
|
||||
$purifier = new HTMLPurifier($config);
|
||||
|
Reference in New Issue
Block a user