From e7cf24bb4f06a0147bd3cd0649c2aa57535f058f Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Fri, 26 Aug 2011 17:41:07 +0100 Subject: [PATCH] Bug fix: add dir to smarty plugin dir list rather than replacing orig --- source/lib/RippingCluster/Main.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/RippingCluster/Main.class.php b/source/lib/RippingCluster/Main.class.php index 66b7e41..e4d1cc5 100644 --- a/source/lib/RippingCluster/Main.class.php +++ b/source/lib/RippingCluster/Main.class.php @@ -25,7 +25,7 @@ class RippingCluster_Main extends SihnonFramework_Main { $this->smarty->compile_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/templates'); $this->smarty->cache_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/cache'); $this->smarty->config_dir = static::makeAbsolutePath($smarty_tmp . '/config'); - $this->smarty->plugins_dir = static::makeAbsolutePath('./source/smarty/plugins'); + $this->smarty->plugins_dir[]= static::makeAbsolutePath('./source/smarty/plugins'); $this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration')); $this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));