Added config variables for smarty directories.
Added check to make sure the htmlUI/templates_c directory has the right permissions. Removed creation of the pear directory.
This commit is contained in:
parent
9fc2b3c39b
commit
dcd1bad089
3 changed files with 30 additions and 17 deletions
|
@ -527,7 +527,7 @@ if (!camp_db_table_exists($CC_CONFIG['prefTable'])) {
|
|||
//------------------------------------------------------------------------
|
||||
// Install storage directories
|
||||
//------------------------------------------------------------------------
|
||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'cronDir') as $d) {
|
||||
$test = file_exists($CC_CONFIG[$d]);
|
||||
if ( $test === FALSE ) {
|
||||
@mkdir($CC_CONFIG[$d], 02775);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue