Skip to content

Commit

Permalink
Various small optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
berrnd committed Apr 13, 2023
1 parent 487da96 commit 54593bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controllers/PicturesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function Overview(Request $request, Response $response, array $args)
else
{
return $this->render($response, 'overview', [
'rootFolders' => $this->getPictureService()->GetRootFolderInfo()
'rootFolders' => $this->getPictureService()->GetRootFolder()
]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion services/PictureService.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class PictureService extends BaseService
{
public function GetRootFolderInfo()
public function GetRootFolder()
{
$folders = [];

Expand Down
1 change: 0 additions & 1 deletion views/layout/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
var Piksi = { };
Piksi.Mode = '{{ PIKSI_MODE }}';
Piksi.BaseUrl = '{{ $U('/') }}';
Piksi.CurrentUrlRelative = "/" + window.location.href.split('?')[0].replace(Piksi.BaseUrl, "");
Piksi.LocalizationStrings = {!! $LocalizationStrings !!};
</script>
</head>
Expand Down

0 comments on commit 54593bb

Please sign in to comment.