mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
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:
parent
fdaa600675
commit
092dcfa418
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user