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
This commit is contained in:
mjollnir_ 2005-10-30 20:20:09 +00:00
parent fdaa600675
commit 092dcfa418

View File

@ -18,7 +18,7 @@
print_header($mymoodlestr);
notice_yesno(get_string('noguest', 'my').'<br /><br />'.get_string('liketologin'),
$wwwroot, $_SERVER['HTTP_REFERER']);
$wwwroot, $CFG->wwwroot);
print_footer();
die();
}