Commit 9bb5a6f0 authored by Petr Skoda's avatar Petr Skoda
Browse files

Merge branch 'MDL-25186_m20a' of git://

parents 3b8929e8 39f2bbf3
......@@ -321,6 +321,11 @@
<CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_php533" level="optional">
<ON_CHECK message="php533warning" />
......@@ -782,6 +782,7 @@ $string['perfdebug'] = 'Performance info';
$string['performance'] = 'Performance';
$string['pgcluster'] = 'PostgreSQL Cluster';
$string['pgclusterdescription'] = 'PostgreSQL version/cluster parameter for command line operations. If you only have one postgresql on your system or you are not sure what this is, leave this blank.';
$string['php533warning'] = 'PHP 5.3.3 and upwards is recommended';
$string['phpfloatproblem'] = 'Detected unexpected problem in handling of PHP float numbers - {$a}';
$string['php50restricted'] = 'PHP 5.0.x has a number of known problems, please upgrade to 5.1.x or downgrade to 4.3.x or 4.4.x';
$string['pleaserefreshregistration'] = 'Your site has been registered with, please consider updating the registration if significant changes happened since your last update, on {$a}';
......@@ -54,3 +54,12 @@ function php_check_register_globals($result) {
return $result;
function php_check_php533($result) {
if (version_compare(phpversion(), '5.3.3') < 0) {
$result->status = false;
} else {
$result = null;
return $result;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment