From 4bd3c2778beb528787bcf18ff7e1d7b63e30694f Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 30 Mar 2013 23:52:54 +0000 Subject: [PATCH] Fix smarty warning --- 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 93fca14..4a39a7a 100644 --- a/source/lib/RippingCluster/Main.class.php +++ b/source/lib/RippingCluster/Main.class.php @@ -32,7 +32,7 @@ class RippingCluster_Main extends SihnonFramework_Main { $this->smarty->compile_dir = static::makeAbsolutePath($smarty_tmp . '/templates'); $this->smarty->cache_dir = static::makeAbsolutePath($smarty_tmp . '/cache'); $this->smarty->config_dir = static::makeAbsolutePath($smarty_tmp . '/config'); - $this->smarty->plugins_dir[]= static::makeAbsolutePath('../source/webui/smarty/plugins'); + $this->smarty->addPluginsDir(static::makeAbsolutePath('../source/webui/smarty/plugins')); $this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration')); $this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));