Move smarty tmp files to /var/tmp so the directories don't get flushed on boot

This commit is contained in:
2011-12-03 19:30:04 +00:00
parent 1031aab192
commit b00c7de09b

View File

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