From 092dcfa4183fd977a5b838ffe6d0f80c09125cc2 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Sun, 30 Oct 2005 20:20:09 +0000 Subject: [PATCH] In the case of my moodle we don't want to redirect to referrer on 'no', referrer will 90% of the time be the my moodle page. Redirect to wwwroot instead --- my/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my/index.php b/my/index.php index 3d1e7d3a3e0..5721d8dc30b 100644 --- a/my/index.php +++ b/my/index.php @@ -18,7 +18,7 @@ print_header($mymoodlestr); notice_yesno(get_string('noguest', 'my').'

'.get_string('liketologin'), - $wwwroot, $_SERVER['HTTP_REFERER']); + $wwwroot, $CFG->wwwroot); print_footer(); die(); }