Browse Source
Merge pull request #44408 from nextcloud/fix/jsresource-locator-app-root
fix(JSRecourceLocator): Add missing slash after server root
pull/44418/head
Ferdinand Thiessen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
lib/private/Template/JSResourceLocator.php
|
|
@ -52,7 +52,7 @@ class JSResourceLocator extends ResourceLocator { |
|
|
|
$app = substr($script, 0, strpos($script, '/')); |
|
|
|
$scriptName = basename($script); |
|
|
|
// Get the app root path
|
|
|
|
$appRoot = $this->serverroot . 'apps/'; |
|
|
|
$appRoot = $this->serverroot . '/apps/'; |
|
|
|
$appWebRoot = null; |
|
|
|
try { |
|
|
|
// We need the dir name as getAppPath appends the appid
|
|
|
|