Commit 2ef5a346 authored by Donal McMullan's avatar Donal McMullan

Another fix for auto-generated wwwroot

parent dac96353
......@@ -133,6 +133,8 @@ if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) {
$path = '/' . $path;
}
$path .= '/';
} else {
$path = '/';
}
$wwwroot = $proto . $host . $path;
try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment