mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(JSResourceLocator): incorrect parameter was being used
This commit is contained in:
parent
f835660548
commit
ca987504d7
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class JSResourceLocator extends ResourceLocator {
|
|||
|| $this->appendScriptIfExist($this->serverroot, "dist/$app-$scriptName")
|
||||
|| $this->appendScriptIfExist($appRoot, $script, $appWebRoot)
|
||||
|| $this->cacheAndAppendCombineJsonIfExist($this->serverroot, $script . '.json')
|
||||
|| $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $appWebRoot)
|
||||
|| $this->cacheAndAppendCombineJsonIfExist($appRoot, $script . '.json', $app)
|
||||
|| $this->appendScriptIfExist($this->serverroot, $theme_dir . 'core/' . $script)
|
||||
|| $this->appendScriptIfExist($this->serverroot, 'core/' . $script)
|
||||
|| (strpos($scriptName, '/') === -1 && ($this->appendScriptIfExist($this->serverroot, $theme_dir . "dist/core-$scriptName")
|
||||
|
|
|
|||
Loading…
Reference in a new issue