Merge branch 'MDL-48050-master' of git://github.com/damyon/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-11-06 00:01:01 +01:00
commit 862b76f39b

View File

@ -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