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