Commit def3f4a0 authored by Andrew Nicols's avatar Andrew Nicols

Merge branch 'MDL-69415-310' of git:// into MOODLE_310_STABLE

parents 6958a078 9e52a6a0
......@@ -79,7 +79,9 @@ abstract class handler {
* Register the H5P autoloader.
public static function register(): void {
spl_autoload_register([static::class, 'autoload']);
// Prepend H5P libraries in order to guarantee they are loaded first. Plugins using same libraries will need to use a
// different namespace if they want to use a different version.
spl_autoload_register([static::class, 'autoload'], true, true);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment