diff --git a/install.php b/install.php index 393afd21121..4fb58c26e55 100644 --- a/install.php +++ b/install.php @@ -129,6 +129,7 @@ $CFG->admin = $INSTALL['admindirname']; $CFG->directorypermissions = 00777; $CFG->running_installer = true; $CFG->docroot = 'http://docs.moodle.org'; +$CFG->httpswwwroot = $INSTALL['wwwrootform']; // Needed by doc_link() in Server Checks page. $COURSE->id = 0; /// Include some moodle libraries