From 11c034bb88cbcca9bad5b482c654b944d547cda0 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 10 Jan 2022 15:32:45 +0100 Subject: [PATCH] Moar Debug Output --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index c368d8a..5390f43 100644 --- a/index.php +++ b/index.php @@ -46,7 +46,6 @@ if (isset($_GET['f'])) { if ($_GET['f'] != '') { $t = array('(' => '\(', ')' => '\)'); $f = strtr($_GET['f'], $t); - error_log('----------'.$f.'----------'); $files = array_values(preg_grep('/.*'.$f.'.*/i', $files)); $filter='&f='.$_GET['f']; } @@ -59,6 +58,8 @@ $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;