From 57c2cffd82a30afaf0d584855b9784a166a7ff42 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 8 Dec 2003 09:19:53 +0000 Subject: [PATCH] Don't complain about empty log file... I thought this had already been fixed --- update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.20.1