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:
David Mudrák
2019-11-13 19:58:10 +01:00
parent 1633a6035d
commit 469d4b7f35
5 changed files with 10 additions and 2 deletions
+2
View File
@@ -157,6 +157,7 @@ $CFG->lang = 'en';
$CFG->dirroot = dirname(dirname(__DIR__));
$CFG->libdir = "$CFG->dirroot/lib";
$CFG->wwwroot = "http://localhost";
$CFG->httpswwwroot = $CFG->wwwroot;
$CFG->docroot = 'http://docs.moodle.org';
$CFG->running_installer = true;
$CFG->early_install_lang = true;
@@ -388,6 +389,7 @@ if ($interactive) {
}
}
$CFG->wwwroot = $wwwroot;
$CFG->httpswwwroot = $CFG->wwwroot;
//We need dataroot before lang download
$CFG->dataroot = $options['dataroot'];