From 4b7a8428dbd80362baf126c52899af0b5a72d176 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 5 Mar 2004 03:34:35 +0000 Subject: [PATCH] Update LocalSettings.php and LanguageUtf8.php on command-line update --- update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.php b/update.php index 0a1a1e709f..01dd7cfd57 100644 --- a/update.php +++ b/update.php @@ -78,6 +78,7 @@ function do_update_files() { global $IP, $wgStyleSheetDirectory, $wgUploadDirectory, $wgLanguageCode, $wgDebugLogFile; print "Copying files... "; + copyfile( ".", "LocalSettings.php", $IP ); copyfile( ".", "index.php", $IP ); copyfile( ".", "redirect.php", $IP ); # compatibility with older versions, can be removed in a year or so @@ -104,6 +105,7 @@ function do_update_files() { copyfile( "./images", "magnify-clip.png", $wgUploadDirectory ); copyfile( "./languages", "Language.php", $IP ); + copyfile( "./languages", "LanguageUtf8.php", $IP ); copyfile( "./languages", "Language" . ucfirst( $wgLanguageCode ) . ".php", $IP ); if( !empty( $wgDebugLogFile ) ) { -- 2.20.1