From: Brion Vibber Date: Tue, 10 Jun 2008 21:32:20 +0000 (+0000) Subject: upload dirs will be created on demand; no longer a need to pre-create them X-Git-Tag: 1.31.0-rc.0~47056 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=e35eef9bb7edcbc4e266d6217f16b74a32c1eed4;p=lhc%2Fweb%2Fwiklou.git upload dirs will be created on demand; no longer a need to pre-create them --- diff --git a/maintenance/addwiki.php b/maintenance/addwiki.php index 16a29afa5b..dfb9c9e817 100644 --- a/maintenance/addwiki.php +++ b/maintenance/addwiki.php @@ -240,16 +240,6 @@ EOT # Rebuild interwiki tables #passthru( '/home/wikipedia/conf/interwiki/update' ); - # Create the upload dir - $uploadDir = "/mnt/upload3/$site/$lang"; - if( file_exists( $uploadDir ) ) { - echo "$uploadDir already exists.\n"; - } else { - echo "Creating $uploadDir...\n"; - mkdir( $uploadDir, 0777 ); - chmod( $uploadDir, 0777 ); - } - print "Script ended. You still have to: * Add any required settings in InitialiseSettings.php * Run sync-common-all