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

This commit is contained in:
Jun Pataleta
2024-10-17 12:08:52 +08:00
+1 -1
View File
@@ -1564,7 +1564,7 @@ class manager {
global $CFG;
if (!empty($CFG->pathtophp) && is_executable(trim($CFG->pathtophp))) {
return $CFG->pathtophp;
return trim($CFG->pathtophp);
}
return false;