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:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user