From 4a6dba5e53897786e9966e1d97765ffdb38adec3 Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Sun, 19 Aug 2007 00:14:49 -0400 Subject: [PATCH] Setting the ['cache_dir']; Not sure this is correct --- interface/lib/config.inc.php | 3 ++- interface/lib/classes/tpl_ini.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/interface/lib/classes/tpl_ini.inc.php b/interface/lib/classes/tpl_ini.inc.php index bbe26ea..a7bd06e 100644 --- a/interface/lib/classes/tpl_ini.inc.php +++ b/interface/lib/classes/tpl_ini.inc.php @@ -89,8 +89,8 @@ /* the following are only used by the vlibTemplateCache class. */ - // TODO: triggers a notice as its not set - 'CACHE_DIRECTORY' => $conf['template']['cache_dir'], + // pedro notes:: triggers a notice as its not set - was $conf['template']['cache_dir'], + 'CACHE_DIRECTORY' => $conf['cache_dir'], // Directory where the cached filesystem // will be set up (full path, and must be writable) // '/' or '\' off the end of the directory. diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php index 4996718..c6f779c 100644 --- a/interface/lib/config.inc.php +++ b/interface/lib/config.inc.php @@ -91,7 +91,8 @@ $conf['fs_div'] = '/'; // File system divider, \\ on windows and / on linux and unix $conf['classpath'] = $conf['rootpath'].$conf['fs_div'].'lib'.$conf['fs_div'].'classes'; $conf['temppath'] = $conf['rootpath'].$conf['fs_div'].'temp'; -//$conf['cache_dir'] = $conf['rootpath'].$conf['fs_div'].'FOOtemp'; +// predro notes: not sure this is the right thing ? +$conf['cache_dir'] = $conf['rootpath'].$conf['fs_div'].'/cache'; define('DIR_TRENNER', $conf['fs_div']); define('SERVER_ROOT', $conf['rootpath']); -- Gitblit v1.9.1