-
Bug
-
Resolution: Fixed
-
Minor
-
1.9
-
None
-
WAMP + Vista
-
Any
-
MOODLE_19_STABLE
-
MOODLE_18_STABLE, MOODLE_19_STABLE
Test:
- Take a clean Moodle or rename your config.old
- Run moodle (Installation script)
- Go through the installation to the "Server Checks" page.
- No icon image ( Firefox) or missing images (IE).
Cause:
weblib.php:
doc_link(...) {
...
if (empty($iconpath))
...
}
Quick fix:
install.php:
case ENVIRONMENT: /// Environment checks
+ // Set CFG->httpswwwroot default value
+ // it is used to display icon image by doc_link() in weblib
+ global $CFG;
+ $CFG->httpswwwroot=$INSTALL['wwwrootform'];