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();
}
}
- redirect($CFG->wwwroot);
+ redirect("$CFG->wwwroot/");
?>
print_header(get_string("passwordconfirmchange"), get_string("passwordconfirmchange"));
- notice(get_string('emailpasswordconfirmsent', '', $user->email), $CFG->wwwroot);
+ notice(get_string('emailpasswordconfirmsent', '', $user->email), "$CFG->wwwroot/");
}
}
}
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();
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;
unset($SESSION);
unset($USER);
- redirect($CFG->wwwroot);
+ redirect("$CFG->wwwroot/");
?>
$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;
}
}