#2290 storageServer does not install under Ubuntu Hardy

This commit is contained in:
sebastian 2008-08-14 10:47:30 +00:00
parent 47c34aa312
commit 4cdb7b2317
1 changed files with 1 additions and 1 deletions

View File

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