summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormodela bitweaver <bitweaver@modela>2014-05-23 12:08:01 -0400
committermodela bitweaver <bitweaver@modela>2014-05-23 12:08:01 -0400
commit145cee9761d7e81b2f7627289ecf52bcd63e1176 (patch)
treec0a5fae2a2aad25cb0e66c097ff0f0a66bd18a78 /plugins
parent7de7be8811e60af1ba482e85914a007be5317ab7 (diff)
parentddab2acf4efdf72284e3bae02301b100e8e9a252 (diff)
downloadliberty-145cee9761d7e81b2f7627289ecf52bcd63e1176.tar.gz
liberty-145cee9761d7e81b2f7627289ecf52bcd63e1176.tar.bz2
liberty-145cee9761d7e81b2f7627289ecf52bcd63e1176.zip
Merge branch 'master' of github.com:bitweaver/liberty
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.