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