Skip to content

Commit 4a6dba5

Browse files
author
pedro_morgan
committed
Setting the ['cache_dir']; Not sure this is correct
1 parent bb212a1 commit 4a6dba5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

interface/lib/classes/tpl_ini.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public static function vlibTemplate()
8989

9090

9191
/* the following are only used by the vlibTemplateCache class. */
92-
// TODO: triggers a notice as its not set
93-
'CACHE_DIRECTORY' => $conf['template']['cache_dir'],
92+
// pedro notes:: triggers a notice as its not set - was $conf['template']['cache_dir'],
93+
'CACHE_DIRECTORY' => $conf['cache_dir'],
9494
// Directory where the cached filesystem
9595
// will be set up (full path, and must be writable)
9696
// '/' or '\' off the end of the directory.

interface/lib/config.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
$conf['fs_div'] = '/'; // File system divider, \\ on windows and / on linux and unix
9292
$conf['classpath'] = $conf['rootpath'].$conf['fs_div'].'lib'.$conf['fs_div'].'classes';
9393
$conf['temppath'] = $conf['rootpath'].$conf['fs_div'].'temp';
94-
//$conf['cache_dir'] = $conf['rootpath'].$conf['fs_div'].'FOOtemp';
94+
// predro notes: not sure this is the right thing ?
95+
$conf['cache_dir'] = $conf['rootpath'].$conf['fs_div'].'/cache';
9596

9697
define('DIR_TRENNER', $conf['fs_div']);
9798
define('SERVER_ROOT', $conf['rootpath']);

0 commit comments

Comments
 (0)