diff --git a/index.php b/index.php index 9dffbf5..550c42a 100644 --- a/index.php +++ b/index.php @@ -1301,10 +1301,11 @@ word-break: break-all; foreach ($files as $f) { if (strpos($f, '.') !== 0 && !in_array($f, $IGNORE)) { echo "
  • \n"; - echo "\t"; if (is_dir($dir . "/" . $f)) { + echo "\t"; echo " "; } else { + echo "\t"; $icon = "fas fa-file"; $extension = strtolower(pathinfo("$dir/$f")['extension']); // If we don't have an extension, try using the whole filename