MDL-80823 core: Redirect to wwwroot with full path
This commit is contained in:
+1
-1
@@ -888,7 +888,7 @@ function initialise_fullme() {
|
||||
throw new moodle_exception('requirecorrectaccess', 'error', '', null,
|
||||
'You called ' . $calledurl .', you should have called ' . $correcturl);
|
||||
}
|
||||
redirect($CFG->wwwroot, get_string('wwwrootmismatch', 'error', $CFG->wwwroot), 3);
|
||||
redirect($CFG->wwwroot . $rurl['fullpath'], get_string('wwwrootmismatch', 'error', $CFG->wwwroot), 3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user