Add table-based legacy design
This commit is contained in:
parent
429314efba
commit
57bb0e03a3
35 changed files with 886 additions and 526 deletions
|
|
@ -8,7 +8,11 @@
|
|||
class RoscoLekoController extends Controller {
|
||||
public function getImages(): array {
|
||||
$images = [];
|
||||
foreach (File::glob(public_path('images/pandamonium').'/*') as $path) {
|
||||
$path = 'images/pandamonium';
|
||||
if (isLegacy()) {
|
||||
$path = 'images/pandamonium-legacy';
|
||||
}
|
||||
foreach (File::glob(public_path($path).'/*') as $path) {
|
||||
$image_data = [];
|
||||
try {
|
||||
$exif = exif_read_data($path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue