From: Tim Starling Date: Sun, 18 Jul 2004 08:54:35 +0000 (+0000) Subject: fix notice X-Git-Tag: 1.5.0alpha1~2648 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=b3c0974527556d3a413578a54435b7c6e7022ac2;p=lhc%2Fweb%2Fwiklou.git fix notice --- 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' ); }