Skip to content

Commit

Permalink
simplify php
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwmorris committed Apr 26, 2023
1 parent bc4ca2f commit 79345b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ public function getLatestImages() {

$relpath = str_replace($this->rootpath, '', $filename);

$image_list[] = array(
'file' => $relpath,
);
$image_list[] = $relpath;
}

return($image_list);
Expand Down

0 comments on commit 79345b5

Please sign in to comment.