mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 17:33:18 +02:00
Merge branch 'master-MDL-70323' of https://github.com/golenkovm/moodle
This commit is contained in:
commit
122ff15517
@ -733,6 +733,14 @@ $CFG->admin = 'admin';
|
||||
// automatically generating them. This is only needed if you want to ensure that keys are consistent
|
||||
// across a cluster when not using shared storage. If you stop the server generating keys, you will
|
||||
// need to manually generate them by running 'php admin/cli/generate_key.php'.
|
||||
//
|
||||
// H5P crossorigin
|
||||
//
|
||||
// $CFG->h5pcrossorigin = 'anonymous';
|
||||
//
|
||||
// Settings this to anonymous will enable CORS requests for media elements to have the credentials
|
||||
// flag set to 'same-origin'. This may be needed when using tool_objectfs as an alternative file
|
||||
// system with CloudFront configured.
|
||||
|
||||
//=========================================================================
|
||||
// 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!!
|
||||
|
@ -344,7 +344,7 @@ class helper {
|
||||
'user' => $usersettings,
|
||||
'hubIsEnabled' => true,
|
||||
'reportingIsEnabled' => false,
|
||||
'crossorigin' => null,
|
||||
'crossorigin' => !empty($CFG->h5pcrossorigin) ? $CFG->h5pcrossorigin : null,
|
||||
'libraryConfig' => $core->h5pF->getLibraryConfig(),
|
||||
'pluginCacheBuster' => self::get_cache_buster(),
|
||||
'libraryUrl' => autoloader::get_h5p_core_library_url('js')->out(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user