From: moodler Date: Wed, 7 Apr 2004 13:07:38 +0000 (+0000) Subject: A fix to help some misconfigured sites (without DirectoryIndex) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e6d82585214acee7e094dba19b46441d266ec7c6;p=moodle.git A fix to help some misconfigured sites (without DirectoryIndex) --- diff --git a/index.php b/index.php index d8ee033905..7612c5c66c 100644 --- a/index.php +++ b/index.php @@ -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", "",