mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
A fix to help some misconfigured sites (without DirectoryIndex)
This commit is contained in:
parent
2ec0b1eff6
commit
e6d8258521
@ -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", "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user