From b3c0974527556d3a413578a54435b7c6e7022ac2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 18 Jul 2004 08:54:35 +0000 Subject: [PATCH] fix notice --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index 0682cd2a4d..813b5fe989 100644 --- a/config/index.php +++ b/config/index.php @@ -770,7 +770,7 @@ if ( \$wgCommandLineMode ) { if ( isset( \$_SERVER ) && array_key_exists( 'REQUEST_METHOD', \$_SERVER ) ) { die( \"This script must be run from the command line\\n\" ); } -} elseif ( !\$wgConfiguring ) { +} elseif ( empty( \$wgConfiguring ) ) { ## Compress output if the browser supports it {$zlib}if( !ini_get( 'zlib.output_compression' ) ) ob_start( 'ob_gzhandler' ); } -- 2.20.1