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:
paul.baranowski 2010-10-01 17:39:23 -04:00
parent 9fc2b3c39b
commit dcd1bad089
3 changed files with 30 additions and 17 deletions

View file

@ -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);