r4319 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4318‎ | r4319 | r4320 >
Date:08:54, 18 July 2004
Author:timstarling
Status:old
Tags:
Comment:
fix notice
Modified paths:
  • /trunk/phase3/config/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/index.php
@@ -770,7 +770,7 @@
771771 if ( isset( \$_SERVER ) && array_key_exists( 'REQUEST_METHOD', \$_SERVER ) ) {
772772 die( \"This script must be run from the command line\\n\" );
773773 }
774 -} elseif ( !\$wgConfiguring ) {
 774+} elseif ( empty( \$wgConfiguring ) ) {
775775 ## Compress output if the browser supports it
776776 {$zlib}if( !ini_get( 'zlib.output_compression' ) ) ob_start( 'ob_gzhandler' );
777777 }

Status & tagging log