Commit 4a6dba5e authored by pedro_morgan's avatar pedro_morgan
Browse files

Setting the ['cache_dir']; Not sure this is correct

parent bb212a1d
...@@ -89,8 +89,8 @@ if (!defined('vlibIniClassLoaded')) { ...@@ -89,8 +89,8 @@ if (!defined('vlibIniClassLoaded')) {
/* the following are only used by the vlibTemplateCache class. */ /* the following are only used by the vlibTemplateCache class. */
// TODO: triggers a notice as its not set // pedro notes:: triggers a notice as its not set - was $conf['template']['cache_dir'],
'CACHE_DIRECTORY' => $conf['template']['cache_dir'], 'CACHE_DIRECTORY' => $conf['cache_dir'],
// Directory where the cached filesystem // Directory where the cached filesystem
// will be set up (full path, and must be writable) // will be set up (full path, and must be writable)
// '/' or '\' off the end of the directory. // '/' or '\' off the end of the directory.
......
...@@ -91,7 +91,8 @@ $conf['rootpath'] = substr(dirname(__FILE__),0,-4); ...@@ -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['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['classpath'] = $conf['rootpath'].$conf['fs_div'].'lib'.$conf['fs_div'].'classes';
$conf['temppath'] = $conf['rootpath'].$conf['fs_div'].'temp'; $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('DIR_TRENNER', $conf['fs_div']);
define('SERVER_ROOT', $conf['rootpath']); define('SERVER_ROOT', $conf['rootpath']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment