From b00c7de09b49e9f7a546eefb7b3eacb801b9b8dd Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 3 Dec 2011 19:30:04 +0000 Subject: [PATCH] Move smarty tmp files to /var/tmp so the directories don't get flushed on boot --- 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 e7318c3..3bdb32f 100644 --- a/source/lib/RippingCluster/Main.class.php +++ b/source/lib/RippingCluster/Main.class.php @@ -19,7 +19,7 @@ class RippingCluster_Main extends SihnonFramework_Main { switch (HBC_File) { case 'ajax': case 'index': { - $smarty_tmp = '/tmp/ripping-cluster'; + $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');