* fix error for HTMLPurifier.

This commit is contained in:
wangyidong
2015-12-04 13:07:50 +08:00
parent b3f919b697
commit 92208eae36
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -115,6 +115,7 @@ class fileModel extends model
$this->app->loadClass('purifier', true);
$config = HTMLPurifier_Config::createDefault();
$config->set('Cache.DefinitionImpl', null);
$purifier = new HTMLPurifier($config);
/* If the file var name is an array. */