diff --git a/course/enrol.html b/course/enrol.html
index 9ff1ac24b0b..a9e1c74dd1f 100644
--- a/course/enrol.html
+++ b/course/enrol.html
@@ -30,7 +30,7 @@
diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index 50c4c90e55a..c2084e309cc 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -31,7 +31,7 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta=
if (isset($USER->id)) {
$button = "wwwroot/login/logout.php\">".get_string("logout")."";
} else {
- $button = "wwwroot/login/\">".get_string("login")."";
+ $button = "wwwroot/login/index.php\">".get_string("login")."";
}
}
@@ -76,7 +76,7 @@ function print_footer ($course=NULL) {
" (wwwroot/login/logout.php\">".get_string("logout").")";
} else {
$loggedinas = get_string("loggedinnot", "moodle").
- " (wwwroot/login/\">".get_string("login").")";
+ " (wwwroot/login/index.php\">".get_string("login").")";
}
include ("$CFG->dirroot/theme/$CFG->theme/footer.html");
@@ -971,9 +971,9 @@ function require_login($courseid=0) {
$USER = NULL;
save_session("USER");
if ($PHPSESSID) { // Cookies not enabled.
- redirect("$CFG->wwwroot/login/?PHPSESSID=$PHPSESSID");
+ redirect("$CFG->wwwroot/login/index.php?PHPSESSID=$PHPSESSID");
} else {
- redirect("$CFG->wwwroot/login/");
+ redirect("$CFG->wwwroot/login/index.php");
}
die;
}
diff --git a/login/index_form.html b/login/index_form.html
index e8e5e8591ac..51f2f28c8f4 100644
--- a/login/index_form.html
+++ b/login/index_form.html
@@ -15,7 +15,7 @@
( print_string("cookiesenabled") ?>)
formerr($errormsg) ?>
- |