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
parent
commit
d4216bd08b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      lib/private/Template/JSResourceLocator.php

2
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

Loading…
Cancel
Save