Skip to content

Commit

Permalink
Update lib/private/Template/JSResourceLocator.php
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel <[email protected]>
Signed-off-by: Akhil Potukuchi <[email protected]>
Signed-off-by: Akhil <[email protected]>
  • Loading branch information
akhil1508 and kesselb committed Oct 17, 2023
1 parent 081beb2 commit e30c3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Template/JSResourceLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function doFind($script) {
$found += $this->appendScriptIfExist($this->serverroot, $script);
$found += $this->appendScriptIfExist($this->serverroot, $theme_dir.$script);

foreach (\OC::$APPSROOTS AS $appRoot) {
foreach (\OC::$APPSROOTS as $appRoot) {
$dirName = basename($appRoot['path']);
$rootPath = dirname($appRoot['path']);
$found += $this->appendScriptIfExist($rootPath, $dirName.'/'.$script);
Expand Down

0 comments on commit e30c3de

Please sign in to comment.