MDL-25186: add environmental check to recommend PHP 5.3.3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user