Merge branch 'MDL-83367-405' of https://github.com/dravek/moodle into MOODLE_405_STABLE

This commit is contained in:
Jun Pataleta 2024-10-17 12:08:48 +08:00
commit cec04e64a1
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -1492,7 +1492,7 @@ class manager {
global $CFG;
if (!empty($CFG->pathtophp) && is_executable(trim($CFG->pathtophp))) {
return $CFG->pathtophp;
return trim($CFG->pathtophp);
}
return false;