-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.10.4
-
MOODLE_310_STABLE
I was testing out the $CFG->admin setting and couldn't get through the install. It would hit the plugins list and say they were missing from disk.
I did some investigating and it's because we use the wrong substring in lib/classes/component.php
It's a simple fix.
Change fetch_plugintypes()
$path = $CFG->admin . substr($path, 0, 5);
|
|
to
$path = $CFG->admin . substr($path, 5);
|
I'm surprised this hasn't been reported. I guess no one uses that config setting.