From e35eef9bb7edcbc4e266d6217f16b74a32c1eed4 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 10 Jun 2008 21:32:20 +0000 Subject: [PATCH] upload dirs will be created on demand; no longer a need to pre-create them --- maintenance/addwiki.php | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.20.1