Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
4a6dba5e
Commit
4a6dba5e
authored
Aug 19, 2007
by
pedro_morgan
Browse files
Setting the ['cache_dir']; Not sure this is correct
parent
bb212a1d
Changes
2
Show whitespace changes
Inline
Side-by-side
interface/lib/classes/tpl_ini.inc.php
View file @
4a6dba5e
...
...
@@ -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.
...
...
interface/lib/config.inc.php
View file @
4a6dba5e
...
...
@@ -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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment