Skip to content

Commit

Permalink
Merge branch 'MDL-80823-wwwroot-redirect-MOODLE_403_STABLE' of https:…
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Feb 15, 2024
2 parents 75b3874 + f443edd commit f7f0ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setuplib.php
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit f7f0ab2

Please sign in to comment.