pedro_morgan
2007-08-19 4a6dba5e53897786e9966e1d97765ffdb38adec3
Setting the ['cache_dir']; Not sure this is correct
2 files modified
7 ■■■■■ changed files
interface/lib/classes/tpl_ini.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/config.inc.php 3 ●●●● patch | view | raw | blame | history
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.
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']);