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:
Petr Skoda
2010-10-10 15:04:19 +00:00
parent 3354eb8cb4
commit 17c70aa007
15 changed files with 115 additions and 73 deletions
-11
View File
@@ -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