Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 2.0
-
Component/s: Installation
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
When doing a clean install of Moodle 1.8 stable the links in the "Report" column on the environment check page take the form http://localhost/en/admin/environment/unicode which should be http://docs.moodle.org/en/admin/environment/unicode etc.
This is because at that early stage of installation the variable $CFG->docroot is not set. A possible fix would be to add the lines
if (empty($CFG->docroot)) {
$CFG->docroot = 'http://docs.moodle.org';
}
near the start of doc_link() in weblib.php
not an issue any more in new 2.0 installer, thanks