mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Detect app's script higher up as some scripts were shadowed
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
8a56713c38
commit
6f62c17a95
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ class JSResourceLocator extends ResourceLocator {
|
|||
|| $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js')
|
||||
|| $this->appendIfExist($this->serverroot, $script.'.js')
|
||||
|| $this->appendIfExist($this->serverroot, "dist/$app-$scriptName.js")
|
||||
|| $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')
|
||||
|| $this->cacheAndAppendCombineJsonIfExist($this->serverroot, $script.'.json')
|
||||
|| $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')
|
||||
|| $this->appendIfExist($this->serverroot, 'core/'.$script.'.js')
|
||||
|
|
|
|||
Loading…
Reference in a new issue