two of them
This commit is contained in:
parent
cebb14f59c
commit
3821e58e10
13 changed files with 18 additions and 19 deletions
|
@ -5,10 +5,10 @@
|
|||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class RoscoController extends Controller {
|
||||
class RoscoLekoController extends Controller {
|
||||
public function getImages(): array {
|
||||
$images = [];
|
||||
foreach (File::glob(public_path('images/rosco').'/*') as $path) {
|
||||
foreach (File::glob(public_path('images/rosco-leko').'/*') as $path) {
|
||||
$image_data = [];
|
||||
try {
|
||||
$exif = exif_read_data($path);
|
||||
|
@ -41,7 +41,7 @@ public function getImages(): array {
|
|||
* @return View
|
||||
*/
|
||||
public function show(): View {
|
||||
return view('rosco', [
|
||||
return view('rosco-leko', [
|
||||
'images' => $this->getImages(),
|
||||
]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue