From 9703382a5703e3739282c3caa9b68babcbfdc16e Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 19 Jan 2023 16:25:58 +0100 Subject: [PATCH] Revert "PHP8 support" This reverts commit c6d361ae5b6cd336f6927d5de4e1abd9f324b3e1. --- plugins/dynamix/include/FileTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/FileTree.php b/plugins/dynamix/include/FileTree.php index 4b7bd416e..4f09c0955 100644 --- a/plugins/dynamix/include/FileTree.php +++ b/plugins/dynamix/include/FileTree.php @@ -63,7 +63,7 @@ if (is_low($rootdir) && is_dir($rootdir)) { foreach ($names as $file) if (is_file($rootdir.$file)) { $htmlRel = htmlspecialchars($rootdir.$file); $htmlName = htmlspecialchars($file); - $ext = mb_strtolower(pathinfo($file)['extension']?:''); + $ext = mb_strtolower(pathinfo($file)['extension']??''); foreach ($filters as $filter) if (empty($filter)||$ext==$filter) { if (empty($match)||preg_match("/$match/",$file)) echo "
  • $checkbox$htmlName
  • "; }