X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionError.php;h=9fbcf8955b43ab2dafaff3e51cbf9157d81f1b0b;hb=ed7977d6b6091795094803b3fd0c4afe6b9bea4c;hp=3a2f9f8cc9ae287ccc398cca6aa8aa7a5e4ed97b;hpb=7fe6388006707235e9bae2e4230aaef5d91cabd4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionError.php b/includes/PHPVersionError.php index 3a2f9f8cc9..9fbcf8955b 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 ); -} +// @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound +require_once dirname( __FILE__ ) . '/PHPVersionCheck.php'; +// @codingStandardsIgnoreEnd