Even More Debug Output

This commit is contained in:
seiichiro 2022-01-10 15:34:36 +01:00
parent 11c034bb88
commit 7ada9ac26b

View file

@ -58,8 +58,6 @@ $files = array_reverse($files);
// Get Files for current Page
$curfiles = array_slice($files, ($page-1)*$slice ,$slice, true);
print_r($curfiles);
// Prepare Generic Data for Template
$data['dir'] = $dir;
$data['slice'] = $slice;
@ -76,6 +74,7 @@ $data['last_page'] = ceil(count($files)/$slice);
// Prepare Mode Specific Data and Render Template
if ($slice > 1) {
foreach ($curfiles as $index => $image) {
print_r($index."\n");
$tmp['n'] = $image;
$tmp['i'] = $index+1;
$tmp['t'] = $thumburl.$t->get_thumb($image);