MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED
This commit is contained in:
@@ -272,17 +272,6 @@ global $OUTPUT;
|
||||
*/
|
||||
global $MCACHE;
|
||||
|
||||
/**
|
||||
* A global to define if the page being displayed must run under HTTPS.
|
||||
*
|
||||
* Its primary goal is to allow 100% HTTPS pages when $CFG->loginhttps is enabled. Default to false.
|
||||
* Its enabled only by the $PAGE->https_required() function and used in some pages to update some URLs
|
||||
*
|
||||
* @global bool $HTTPSPAGEREQUIRED
|
||||
* @name $HTTPSPAGEREQUIRED
|
||||
*/
|
||||
global $HTTPSPAGEREQUIRED;
|
||||
|
||||
/**
|
||||
* Full script path including all params, slash arguments, scheme and host.
|
||||
* @global string $FULLME
|
||||
|
||||
Reference in New Issue
Block a user