Fixed some missing slashes
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
notice($strpasswordchanged, "$CFG->wwwroot/user/view.php?id=$USER->id&course=$id");
|
||||
} else {
|
||||
print_header($strpasswordchanged, $strpasswordchanged, $strpasswordchanged, "");
|
||||
notice($strpasswordchanged, "$CFG->wwwroot");
|
||||
notice($strpasswordchanged, "$CFG->wwwroot/");
|
||||
}
|
||||
|
||||
print_footer();
|
||||
|
||||
+1
-1
@@ -62,6 +62,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
?>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
print_header(get_string("passwordconfirmchange"), get_string("passwordconfirmchange"));
|
||||
|
||||
notice(get_string('emailpasswordconfirmsent', '', $user->email), $CFG->wwwroot);
|
||||
notice(get_string('emailpasswordconfirmsent', '', $user->email), "$CFG->wwwroot/");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
|
||||
print_header(get_string("senddetails"), get_string("senddetails"),
|
||||
"<A HREF=\"$CFG->wwwroot/login\">".get_string("login")."</A> -> ".get_string("senddetails"),
|
||||
"<A HREF=\"$CFG->wwwroot/login/index.php\">".get_string("login")."</A> -> ".get_string("senddetails"),
|
||||
"form.email");
|
||||
include("forgot_password_form.html");
|
||||
print_footer();
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@
|
||||
redirect("$CFG->wwwroot/user/edit.php?id=$USER->id&course=$site->id");
|
||||
|
||||
} else if (empty($SESSION->wantsurl)) {
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
} else {
|
||||
$wantsurl = $SESSION->wantsurl;
|
||||
|
||||
+1
-1
@@ -15,6 +15,6 @@
|
||||
unset($SESSION);
|
||||
unset($USER);
|
||||
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
?>
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@
|
||||
|
||||
$emailconfirm = get_string("emailconfirm");
|
||||
print_header($emailconfirm, $emailconfirm, $emailconfirm);
|
||||
notice(get_string("emailconfirmsent", "", $user->email), $CFG->wwwroot);
|
||||
notice(get_string("emailconfirmsent", "", $user->email), "$CFG->wwwroot/");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user