Merge branch 'MDL-69415-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE

This commit is contained in:
Andrew Nicols
2021-04-16 08:06:22 +01:00
committed by Víctor Déniz
+3 -1
View File
@@ -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);
}
/**