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
+1 -1
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;