X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionError.php;h=007ea8941ede17aa57d11fb05d67b32ff49158c4;hb=b51076a84446d157bed511246450e70d26e0f945;hp=b061990e0f74d5e821d61ed58d93c2497c82348c;hpb=31d0a18d3efd13f025633df1cc5a5be7b058f9a3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionError.php b/includes/PHPVersionError.php index b061990e0f..007ea8941e 100644 --- a/includes/PHPVersionError.php +++ b/includes/PHPVersionError.php @@ -1,6 +1,7 @@ - - - - MediaWiki {$mwVersion} - - - - The MediaWiki logo -

MediaWiki {$mwVersion} internal error

-
-

- {$message} -

-

- Please consider upgrading your copy of PHP. - PHP versions less than 5.3.0 are no longer supported by the PHP Group and will not receive - security or bugfix updates. -

-

- If for some reason you are unable to upgrade your PHP version, you will need to - download an older version - of MediaWiki from our website. See our - compatibility page - for details of which versions are compatible with prior versions of PHP. -

-
- - -HTML; - // Handle everything that's not index.php - } else { - // So nothing thinks this is JS or CSS - $finalOutput = ( $type == 'load.php' ) ? "/* $message */" : $message; - header( "$protocol 500 MediaWiki configuration Error" ); - } - echo "$finalOutput\n"; - die( 1 ); -} +require_once dirname( __FILE__ ) . '/PHPVersionCheck.php';