diff --git a/interface/lib/classes/tpl_ini.inc.php b/interface/lib/classes/tpl_ini.inc.php index bbe26ea7991c3f44ccf7e1849427008591dfa6a8..a7bd06e718a23c81ab9e9618a44519b360f163f7 100644 --- a/interface/lib/classes/tpl_ini.inc.php +++ b/interface/lib/classes/tpl_ini.inc.php @@ -89,8 +89,8 @@ if (!defined('vlibIniClassLoaded')) { /* 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 499671861f6e9a61f382bde2298d9f8bed1ab74e..c6f779c90d404a4f5fbec6da3781a54972d543e2 100644 --- a/interface/lib/config.inc.php +++ b/interface/lib/config.inc.php @@ -91,7 +91,8 @@ $conf['rootpath'] = substr(dirname(__FILE__),0,-4); $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']);