Add a trailing slash to generated URLs
This commit is contained in:
parent
125b7e7512
commit
09d9e430d8
|
@ -114,7 +114,7 @@ class URLGenerator implements IURLGenerator {
|
|||
$urlLinkTo = \OC::$WEBROOT . '/core/' . $file;
|
||||
} else {
|
||||
if ($frontControllerActive && $file === 'index.php') {
|
||||
$urlLinkTo = \OC::$WEBROOT;
|
||||
$urlLinkTo = \OC::$WEBROOT . '/';
|
||||
} else {
|
||||
$urlLinkTo = \OC::$WEBROOT . '/' . $file;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue