Revert "PHP8 support"

This reverts commit c6d361ae5b.
This commit is contained in:
bergware
2023-01-19 16:25:58 +01:00
parent c6d361ae5b
commit 9703382a57

View File

@@ -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 "<li class='file ext_$ext'>$checkbox<a href='#' rel=\"$htmlRel\">$htmlName</a></li>";
}