From c540442ff3413ea7c6eb49da9a93f4bd206c6d20 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 30 Jul 2003 05:20:19 +0000 Subject: [PATCH] Fixed some missing slashes --- login/change_password.php | 2 +- login/confirm.php | 2 +- login/forgot_password.php | 4 ++-- login/index.php | 2 +- login/logout.php | 2 +- login/signup.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/login/change_password.php b/login/change_password.php index 0a1439bcd7..5dea6482f1 100644 --- a/login/change_password.php +++ b/login/change_password.php @@ -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(); diff --git a/login/confirm.php b/login/confirm.php index 791bfb3e2f..ab5a3806a8 100644 --- a/login/confirm.php +++ b/login/confirm.php @@ -62,6 +62,6 @@ } } - redirect($CFG->wwwroot); + redirect("$CFG->wwwroot/"); ?> diff --git a/login/forgot_password.php b/login/forgot_password.php index 221e2dbd8a..381de5a084 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -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"), - "wwwroot/login\">".get_string("login")." -> ".get_string("senddetails"), + "wwwroot/login/index.php\">".get_string("login")." -> ".get_string("senddetails"), "form.email"); include("forgot_password_form.html"); print_footer(); diff --git a/login/index.php b/login/index.php index 701630292e..550d822611 100644 --- a/login/index.php +++ b/login/index.php @@ -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; diff --git a/login/logout.php b/login/logout.php index 298aaa9d28..ec50a1ab0c 100644 --- a/login/logout.php +++ b/login/logout.php @@ -15,6 +15,6 @@ unset($SESSION); unset($USER); - redirect($CFG->wwwroot); + redirect("$CFG->wwwroot/"); ?> diff --git a/login/signup.php b/login/signup.php index 11b670895a..26a15d486b 100644 --- a/login/signup.php +++ b/login/signup.php @@ -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; } } -- 2.39.5