mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-80819_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
b704fa7dda
@ -48,8 +48,8 @@ function moodle_minimum_php_version_is_met($haltexecution = false) {
|
||||
// PLEASE NOTE THIS FUNCTION MUST BE COMPATIBLE WITH OLD UNSUPPORTED VERSIONS OF PHP.
|
||||
// Do not use modern php features or Moodle convenience functions (e.g. localised strings).
|
||||
|
||||
$minimumversion = '7.1.0';
|
||||
$moodlerequirementchanged = '3.7';
|
||||
$minimumversion = '7.4.0';
|
||||
$moodlerequirementchanged = '4.1';
|
||||
|
||||
if (version_compare(PHP_VERSION, $minimumversion) < 0) {
|
||||
if ($haltexecution) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user