From 06e3d65ffa0d3303257bc3db8933f984eb8c2f09 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 3 Dec 2011 19:47:57 +0000 Subject: [PATCH] Remove nested tmp directory --- source/lib/RippingCluster/Main.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib/RippingCluster/Main.class.php b/source/lib/RippingCluster/Main.class.php index 3bdb32f..18f8599 100644 --- a/source/lib/RippingCluster/Main.class.php +++ b/source/lib/RippingCluster/Main.class.php @@ -22,8 +22,8 @@ class RippingCluster_Main extends SihnonFramework_Main { $smarty_tmp = '/var/tmp/ripping-cluster'; $this->smarty = new Smarty(); $this->smarty->template_dir = static::makeAbsolutePath('./source/templates'); - $this->smarty->compile_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/templates'); - $this->smarty->cache_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/cache'); + $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/smarty/plugins');