mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Ignore index.html in logs viewer
This commit is contained in:
parent
8e04328482
commit
e84933cf26
@ -13,7 +13,7 @@ $title = 'Logs Viewer';
|
|||||||
$files = array();
|
$files = array();
|
||||||
$aac_path_logs = BASE . 'system/logs/';
|
$aac_path_logs = BASE . 'system/logs/';
|
||||||
foreach (scandir($aac_path_logs, SCANDIR_SORT_ASCENDING) as $f) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user