Debug Output

This commit is contained in:
seiichiro 2022-01-10 15:28:39 +01:00
parent 21616f4dfb
commit 0767d38311

View file

@ -44,8 +44,9 @@ if (isset($_SESSION['files'])
$filter=''; $filter='';
if (isset($_GET['f'])) { if (isset($_GET['f'])) {
if ($_GET['f'] != '') { if ($_GET['f'] != '') {
$t = array('('=> '\(', ')' => '\)'); $t = array('(' => '\(', ')' => '\)');
$f = strtr($_GET['f'], $t); $f = strtr($_GET['f'], $t);
error_log('----------'.$f.'----------');
$files = array_values(preg_grep('/.*'.$f.'.*/i', $files)); $files = array_values(preg_grep('/.*'.$f.'.*/i', $files));
$filter='&f='.$_GET['f']; $filter='&f='.$_GET['f'];
} }