From: Brion Vibber Date: Mon, 8 Dec 2003 09:19:53 +0000 (+0000) Subject: Don't complain about empty log file... I thought this had already been fixed X-Git-Tag: 1.1.0~3 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=57c2cffd82a30afaf0d584855b9784a166a7ff42;p=lhc%2Fweb%2Fwiklou.git Don't complain about empty log file... I thought this had already been fixed --- diff --git a/update.php b/update.php index 0e6b7ded8a..f91a80ce3f 100644 --- a/update.php +++ b/update.php @@ -85,10 +85,10 @@ function do_update_files() { print "Could not create log file \"{$wgDebugLogFile}\".\n"; exit(); } + $d = date( "Y-m-d H:i:s" ); + fwrite( $fp, "Wiki debug log file created {$d}\n\n" ); + fclose( $fp ); } - $d = date( "Y-m-d H:i:s" ); - fwrite( $fp, "Wiki debug log file created {$d}\n\n" ); - fclose( $fp ); if ( $wgUseTeX ) { copyfile( "./math", "texvc", "{$IP}/math", 0775 );