mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge remote-tracking branch 'skodak/w03_MDL-30958_m22_yuissl' into MOODLE_22_STABLE
This commit is contained in:
commit
735d8ce2ce
2 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ class page_requirements_manager {
|
|||
$this->yui3loader->filter = null;
|
||||
$this->yui2loader->filter = null;
|
||||
}
|
||||
if (!empty($CFG->useexternalyui)) {
|
||||
if (!empty($CFG->useexternalyui) and strpos($CFG->httpswwwroot, 'https:') !== 0) {
|
||||
$this->yui3loader->base = 'http://yui.yahooapis.com/' . $CFG->yui3version . '/build/';
|
||||
$this->yui2loader->base = 'http://yui.yahooapis.com/' . $CFG->yui2version . '/build/';
|
||||
$this->yui3loader->comboBase = 'http://yui.yahooapis.com/combo?';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue