Commit 486cf0a1 authored by Donal McMullan's avatar Donal McMullan
Browse files

Another fix for auto-generated wwwroot

parent c63a13c9
...@@ -133,6 +133,8 @@ if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) { ...@@ -133,6 +133,8 @@ if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) {
$path = '/' . $path; $path = '/' . $path;
} }
$path .= '/'; $path .= '/';
} else {
$path = '/';
} }
$wwwroot = $proto . $host . $path; $wwwroot = $proto . $host . $path;
try { 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