MDL-67250 setup: Revert removal of the httpswwwroot setting
It is still used widely in the plugins that would stop working suddenly without being warned via a debugging message. We must keep it forever as an alias for the wwwroot.
This commit is contained in:
@@ -534,6 +534,9 @@ global $FULLSCRIPT;
|
||||
*/
|
||||
global $SCRIPT;
|
||||
|
||||
// The httpswwwroot has been deprecated, we keep it as an alias for backwards compatibility with plugins only.
|
||||
$CFG->httpswwwroot = $CFG->wwwroot;
|
||||
|
||||
require_once($CFG->libdir .'/setuplib.php'); // Functions that MUST be loaded first
|
||||
|
||||
if (NO_OUTPUT_BUFFERING) {
|
||||
|
||||
Reference in New Issue
Block a user