admin interface: MDL-11061 Incorrect check check on wwwroot causing invalid

admin warning
This commit is contained in:
poltawski 2009-01-07 14:08:42 +00:00
parent 17a99a133e
commit 10ef4e7de4

View File

@ -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');
}