From 0767d383110e2e63a31d75ce21c6248e49cfb6db Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 10 Jan 2022 15:28:39 +0100 Subject: [PATCH] Debug Output --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 78701a4..c368d8a 100644 --- a/index.php +++ b/index.php @@ -44,8 +44,9 @@ if (isset($_SESSION['files']) $filter=''; if (isset($_GET['f'])) { if ($_GET['f'] != '') { - $t = array('('=> '\(', ')' => '\)'); + $t = array('(' => '\(', ')' => '\)'); $f = strtr($_GET['f'], $t); + error_log('----------'.$f.'----------'); $files = array_values(preg_grep('/.*'.$f.'.*/i', $files)); $filter='&f='.$_GET['f']; }