diff --git a/lib/installlib.php b/lib/installlib.php index 25acef39ed0..745fa1a130f 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -259,7 +259,8 @@ function install_generate_configphp($database, $cfg) { } /** - * Prints installation page header, we can not use weblib yet in installer. + * Prints installation page header, we can not use weblib yet in installer nor reference any file serving scripts + * directly (images, styles, etc. files must all be referenced by direct URL) * * @global object * @param stdClass $config @@ -283,7 +284,7 @@ function install_print_header($config, $stagename, $heading, $stagetext, $stagec echo ''; echo ' - '; + '; echo ' '.get_string('installation', 'install') . moodle_page::TITLE_SEPARATOR . 'Moodle '.$CFG->target_release.'