From e84933cf2678f497c3a246253bf01b0e128540e9 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 10 May 2020 11:45:04 +0200 Subject: [PATCH] Ignore index.html in logs viewer --- system/pages/admin/logs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/pages/admin/logs.php b/system/pages/admin/logs.php index 10869306..b02cc8fc 100644 --- a/system/pages/admin/logs.php +++ b/system/pages/admin/logs.php @@ -13,7 +13,7 @@ $title = 'Logs Viewer'; $files = array(); $aac_path_logs = BASE . 'system/logs/'; foreach (scandir($aac_path_logs, SCANDIR_SORT_ASCENDING) as $f) { - if ($f[0] === '.' || is_dir($aac_path_logs . $f)) { + if ($f[0] === '.' || is_dir($aac_path_logs . $f) || $f === 'index.html') { continue; }