A fix to help some misconfigured sites (without DirectoryIndex)

This commit is contained in:
moodler 2004-04-07 13:07:38 +00:00
parent 2ec0b1eff6
commit e6d8258521

View File

@ -31,7 +31,7 @@
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langmenu = popup_form ("$CFG->wwwroot/?lang=", $langs, "chooselang", $currlang, "", "", "", true);
$langmenu = popup_form ("$CFG->wwwroot/index.php?lang=", $langs, "chooselang", $currlang, "", "", "", true);
}
print_header(strip_tags($site->fullname), "$site->fullname", "home", "",