Skip to content
Snippets Groups Projects
Commit 4816fc8e authored by Thomas Marstrander's avatar Thomas Marstrander
Browse files

Merge branch 'sr258-crossorigin'

parents 9fca39eb 1d408c43
Branches
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ function hvp_get_core_settings($context) { ...@@ -74,6 +74,7 @@ function hvp_get_core_settings($context) {
'hubIsEnabled' => get_config('mod_hvp', 'hub_is_enabled') ? true : false, 'hubIsEnabled' => get_config('mod_hvp', 'hub_is_enabled') ? true : false,
'reportingIsEnabled' => true, 'reportingIsEnabled' => true,
'crossorigin' => isset($CFG->mod_hvp_crossorigin) ? $CFG->mod_hvp_crossorigin : null, 'crossorigin' => isset($CFG->mod_hvp_crossorigin) ? $CFG->mod_hvp_crossorigin : null,
'crossoriginRegex' => isset($CFG->mod_hvp_crossoriginRegex) ? $CFG->mod_hvp_crossoriginRegex : null,
'libraryConfig' => $core->h5pF->getLibraryConfig(), 'libraryConfig' => $core->h5pF->getLibraryConfig(),
'pluginCacheBuster' => hvp_get_cache_buster(), 'pluginCacheBuster' => hvp_get_cache_buster(),
'libraryUrl' => $basepath . 'mod/hvp/library/js' 'libraryUrl' => $basepath . 'mod/hvp/library/js'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment