mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
fix(JSRecourceLocator): Add missing slash after server root
The `OC::$SERVERROOT` is always returned without a trailing slash, so we need to add a slash between server root and apps directory. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
4121b841de
commit
03dbbc90be
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue