Remove nested tmp directory

This commit is contained in:
2011-12-03 19:47:57 +00:00
parent b00c7de09b
commit 06e3d65ffa

View File

@@ -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');