mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
admin interface: MDL-11061 Incorrect check check on wwwroot causing invalid
admin warning
This commit is contained in:
parent
17a99a133e
commit
10ef4e7de4
@ -148,7 +148,7 @@
|
||||
if (substr($CFG->wwwroot, -1) == '/') {
|
||||
print_box(get_string('cfgwwwrootslashwarning', 'admin'), 'generalbox adminwarning');
|
||||
}
|
||||
if (strpos($ME, $CFG->httpswwwroot.'/') === false) {
|
||||
if (strpos($FULLME, $CFG->httpswwwroot.'/') === false) {
|
||||
print_box(get_string('cfgwwwrootwarning', 'admin'), 'generalbox adminwarning');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user