Even More Debug Output
This commit is contained in:
parent
11c034bb88
commit
7ada9ac26b
1 changed files with 1 additions and 2 deletions
|
@ -58,8 +58,6 @@ $files = array_reverse($files);
|
||||||
// Get Files for current Page
|
// Get Files for current Page
|
||||||
$curfiles = array_slice($files, ($page-1)*$slice ,$slice, true);
|
$curfiles = array_slice($files, ($page-1)*$slice ,$slice, true);
|
||||||
|
|
||||||
print_r($curfiles);
|
|
||||||
|
|
||||||
// Prepare Generic Data for Template
|
// Prepare Generic Data for Template
|
||||||
$data['dir'] = $dir;
|
$data['dir'] = $dir;
|
||||||
$data['slice'] = $slice;
|
$data['slice'] = $slice;
|
||||||
|
@ -76,6 +74,7 @@ $data['last_page'] = ceil(count($files)/$slice);
|
||||||
// Prepare Mode Specific Data and Render Template
|
// Prepare Mode Specific Data and Render Template
|
||||||
if ($slice > 1) {
|
if ($slice > 1) {
|
||||||
foreach ($curfiles as $index => $image) {
|
foreach ($curfiles as $index => $image) {
|
||||||
|
print_r($index."\n");
|
||||||
$tmp['n'] = $image;
|
$tmp['n'] = $image;
|
||||||
$tmp['i'] = $index+1;
|
$tmp['i'] = $index+1;
|
||||||
$tmp['t'] = $thumburl.$t->get_thumb($image);
|
$tmp['t'] = $thumburl.$t->get_thumb($image);
|
||||||
|
|
Loading…
Reference in a new issue