From 4cdb7b231720ac69cc4d1c6cc7dfe41cffc2e1fd Mon Sep 17 00:00:00 2001 From: sebastian Date: Thu, 14 Aug 2008 10:47:30 +0000 Subject: [PATCH] #2290 storageServer does not install under Ubuntu Hardy --- .../src/modules/storageServer/var/install/installStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/campcaster/src/modules/storageServer/var/install/installStorage.php b/campcaster/src/modules/storageServer/var/install/installStorage.php index b2fa0c1e3..9ca500528 100644 --- a/campcaster/src/modules/storageServer/var/install/installStorage.php +++ b/campcaster/src/modules/storageServer/var/install/installStorage.php @@ -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);