Fixed some missing slashes

This commit is contained in:
moodler 2003-07-30 05:20:19 +00:00
parent 4f20f30fed
commit c540442ff3
6 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@
notice($strpasswordchanged, "$CFG->wwwroot/user/view.php?id=$USER->id&course=$id"); notice($strpasswordchanged, "$CFG->wwwroot/user/view.php?id=$USER->id&course=$id");
} else { } else {
print_header($strpasswordchanged, $strpasswordchanged, $strpasswordchanged, ""); print_header($strpasswordchanged, $strpasswordchanged, $strpasswordchanged, "");
notice($strpasswordchanged, "$CFG->wwwroot"); notice($strpasswordchanged, "$CFG->wwwroot/");
} }
print_footer(); print_footer();

View file

@ -62,6 +62,6 @@
} }
} }
redirect($CFG->wwwroot); redirect("$CFG->wwwroot/");
?> ?>

View file

@ -60,7 +60,7 @@
print_header(get_string("passwordconfirmchange"), get_string("passwordconfirmchange")); 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"), 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"); "form.email");
include("forgot_password_form.html"); include("forgot_password_form.html");
print_footer(); print_footer();

View file

@ -60,7 +60,7 @@
redirect("$CFG->wwwroot/user/edit.php?id=$USER->id&course=$site->id"); redirect("$CFG->wwwroot/user/edit.php?id=$USER->id&course=$site->id");
} else if (empty($SESSION->wantsurl)) { } else if (empty($SESSION->wantsurl)) {
redirect($CFG->wwwroot); redirect("$CFG->wwwroot/");
} else { } else {
$wantsurl = $SESSION->wantsurl; $wantsurl = $SESSION->wantsurl;

View file

@ -15,6 +15,6 @@
unset($SESSION); unset($SESSION);
unset($USER); unset($USER);
redirect($CFG->wwwroot); redirect("$CFG->wwwroot/");
?> ?>

View file

@ -36,7 +36,7 @@
$emailconfirm = get_string("emailconfirm"); $emailconfirm = get_string("emailconfirm");
print_header($emailconfirm, $emailconfirm, $emailconfirm); print_header($emailconfirm, $emailconfirm, $emailconfirm);
notice(get_string("emailconfirmsent", "", $user->email), $CFG->wwwroot); notice(get_string("emailconfirmsent", "", $user->email), "$CFG->wwwroot/");
exit; exit;
} }
} }