#2290 storageServer does not install under Ubuntu Hardy
This commit is contained in:
parent
47c34aa312
commit
4cdb7b2317
|
@ -45,7 +45,7 @@ if (!camp_db_table_exists($CC_CONFIG['prefTable'])) {
|
|||
// Install storage directories
|
||||
//------------------------------------------------------------------------
|
||||
foreach (array('storageDir', 'bufferDir', 'transDir', 'accessDir', 'pearPath', 'cronDir') as $d) {
|
||||
$rp = realpath($CC_CONFIG[$d]);
|
||||
$rp = file_exists($CC_CONFIG[$d]);
|
||||
if ( $rp === FALSE ) {
|
||||
echo " * Creating directory ".$CC_CONFIG[$d]."...";
|
||||
mkdir($CC_CONFIG[$d], 02775);
|
||||
|
|
Loading…
Reference in New Issue