Merge branch 'MDL-83367-404' of https://github.com/dravek/moodle into MOODLE_404_STABLE
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user