mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:20:12 +01:00
gui: added html purifier cache value
Change-Id: Ia7549803abbc87b4dd36f1e73ccbe8dbb60deea9 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
376b0345e1
commit
56b5680027
@ -272,6 +272,8 @@ class ModelSearchMessage extends Model {
|
|||||||
$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');
|
||||||
|
|
||||||
$purifier = new HTMLPurifier($config);
|
$purifier = new HTMLPurifier($config);
|
||||||
|
|
||||||
for($i=0; $i<count($mime_parts); $i++) {
|
for($i=0; $i<count($mime_parts); $i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user