summaryrefslogtreecommitdiff
path: root/includes/PHPVersionError.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-05-03 13:01:35 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-05-03 13:01:35 +0200
commitd9022f63880ce039446fba8364f68e656b7bf4cb (patch)
tree16b40fbf17bf7c9ee6f4ead25b16dd192378050a /includes/PHPVersionError.php
parent27cf83d177256813e2e802241085fce5dd0f3fb9 (diff)
Update to MediaWiki 1.19.0
Diffstat (limited to 'includes/PHPVersionError.php')
-rw-r--r--includes/PHPVersionError.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/PHPVersionError.php b/includes/PHPVersionError.php
index 91502a4c..ec6490a8 100644
--- a/includes/PHPVersionError.php
+++ b/includes/PHPVersionError.php
@@ -7,7 +7,7 @@
*
* Calling this function kills execution immediately.
*
- * @param $entryPoint String Which entry point we're protecting. One of:
+ * @param $type String Which entry point we are protecting. One of:
* - index.php
* - load.php
* - api.php
@@ -17,7 +17,7 @@
* version are hardcoded here
*/
function wfPHPVersionError( $type ){
- $mwVersion = '1.18';
+ $mwVersion = '1.19';
$phpVersion = PHP_VERSION;
$message = "MediaWiki $mwVersion requires at least PHP version 5.2.3, you are using PHP $phpVersion.";
if( $type == 'index.php' ) {
@@ -32,7 +32,7 @@ function wfPHPVersionError( $type ){
header( 'Cache-control: none' );
header( 'Pragma: nocache' );
-$finalOutput = <<<HTML
+ $finalOutput = <<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' lang='en'>
<head>
@@ -88,4 +88,4 @@ HTML;
}
echo( "$finalOutput\n" );
die( 1 );
-} \ No newline at end of file
+}