X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2FSetup.php;h=705a719015f7cac0e5da36d44f920d17513767bf;hb=266d41f165fe23e85f70f90891f951b0b0bcda7a;hp=c085799636c2482bed77cadd21ced3cf395e7374;hpb=65dee693e46ee7060aef12b282f260607dee69bf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index c085799636..705a719015 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -18,7 +18,8 @@ if( defined( 'MEDIAWIKI' ) ) { // Check to see if we are at the file scope if ( !isset( $wgVersion ) ) { - die( "Error, Setup.php must be included from the file scope, after DefaultSettings.php\n" ); + echo "Error, Setup.php must be included from the file scope, after DefaultSettings.php\n"; + die( -1 ); } if( !isset( $wgProfiling ) )