mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 08:23:01 +02:00
Merge branch 'MDL-48050-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
862b76f39b
@ -817,6 +817,7 @@ function initialise_fullme() {
|
||||
}
|
||||
$rurl['scheme'] = 'https'; // make moodle believe it runs on https, squid or something else it doing it
|
||||
$_SERVER['HTTPS'] = 'on'; // Override $_SERVER to help external libraries with their HTTPS detection.
|
||||
$_SERVER['SERVER_PORT'] = 443; // Assume default ssl port for the proxy.
|
||||
}
|
||||
|
||||
// hopefully this will stop all those "clever" admins trying to set up moodle
|
||||
|
Loading…
x
Reference in New Issue
Block a user