dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Localisation updates from https://translatewiki.net."
[lhc/web/wiklou.git]
/
includes
/
PHPVersionError.php
diff --git
a/includes/PHPVersionError.php
b/includes/PHPVersionError.php
index
e8ecf6d
..
e6d6ebf
100644
(file)
--- a/
includes/PHPVersionError.php
+++ b/
includes/PHPVersionError.php
@@
-38,7
+38,7
@@
* version are hardcoded here
*/
function wfPHPVersionError( $type ) {
* version are hardcoded here
*/
function wfPHPVersionError( $type ) {
- $mwVersion = '1.2
2
';
+ $mwVersion = '1.2
3
';
$minimumVersionPHP = '5.3.2';
$phpVersion = phpversion();
$minimumVersionPHP = '5.3.2';
$phpVersion = phpversion();
@@
-61,12
+61,12
@@
function wfPHPVersionError( $type ) {
header( 'Pragma: no-cache' );
$finalOutput = <<<HTML
header( 'Pragma: no-cache' );
$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'
>
+<!DOCTYPE html>
+<html
lang="en" dir="ltr"
>
<head>
<head>
+ <meta charset="UTF-8" />
<title>MediaWiki {$mwVersion}</title>
<title>MediaWiki {$mwVersion}</title>
- <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
- <style type='text/css' media='screen'>
+ <style media='screen'>
body {
color: #000;
background-color: #fff;
body {
color: #000;
background-color: #fff;
@@
-112,6
+112,6
@@
HTML;
$finalOutput = ( $type == 'load.php' ) ? "/* $message */" : $message;
header( "$protocol 500 MediaWiki configuration Error" );
}
$finalOutput = ( $type == 'load.php' ) ? "/* $message */" : $message;
header( "$protocol 500 MediaWiki configuration Error" );
}
- echo
( "$finalOutput\n" )
;
+ echo
"$finalOutput\n"
;
die( 1 );
}
die( 1 );
}