mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merging fix for bug 3848 from stable
This commit is contained in:
parent
19374e76a5
commit
cac429bca4
@ -6027,7 +6027,7 @@ function httpsrequired() {
|
||||
|
||||
if (!empty($CFG->loginhttps)) {
|
||||
$HTTPSPAGEREQUIRED = true;
|
||||
$CFG->httpswwwroot = str_replace('http', 'https', $CFG->wwwroot);
|
||||
$CFG->httpswwwroot = str_replace('http:', 'https:', $CFG->wwwroot);
|
||||
} else {
|
||||
$CFG->httpswwwroot = $CFG->wwwroot;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user