summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/filter.htmlpurifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/filter.htmlpurifier.php b/plugins/filter.htmlpurifier.php
index c1cf3f4..e7a03dd 100644
--- a/plugins/filter.htmlpurifier.php
+++ b/plugins/filter.htmlpurifier.php
@@ -139,7 +139,7 @@ function htmlpure_getDefaultConfig( &$htmlp_version, $pObject=NULL ){
// Set the cache path
- $config->set('Cache.SerializerPath', rtrim( STORAGE_PKG_PATH, '/' ) );
+ $config->set('Cache.SerializerPath', rtrim( TEMP_PKG_PATH, '/' ) );
if ($gBitSystem->getConfig('htmlpure_escape_bad', 'y') == 'y') {
$config->set('Core.EscapeInvalidTags', true);
@@ -229,7 +229,7 @@ function htmlpure_getDefaultConfig( &$htmlp_version, $pObject=NULL ){
$blacklistedTags = $gBitSystem->
getConfig('blacklisted_html_tags', '');
- $def =& $config->getHTMLDefinition();
+ $def = $config->getHTMLDefinition();
// HTMLPurifier doesn't have a blacklist feature. Duh guys!
// Note that this has to come last since the other configs
// may tweak the def.