mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
Merge pull request #52479 from RobertZenz/bugfix/fix-jsresourcelocator-incorrect-parameter
fix(JSResourceLocator) fix incorrect parameter being used.
This commit is contained in:
commit
f9b6b88d5c
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