X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=93e2d1c8f3d003613db432132b4ed0e6b971d48a;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=6d244e9656a9866efe8595bac7e1c5a3c9cf43fe;hpb=0870317d3079544527188dc368c816db154d951f;p=mailer.git diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php index 6d244e9656..93e2d1c8f3 100644 --- a/inc/modules/admin/what-logs.php +++ b/inc/modules/admin/what-logs.php @@ -1,7 +1,7 @@ '); // Read all files - $files = getArrayFromDirectory(getConfig('logs_base'), 'access'); - - // And walk through them - foreach ($files as $file) { + foreach (getArrayFromDirectory(getConfig('logs_base'), 'access') as $file) { // Cut dirname away $file = basename($file); // Okay, add it - outputHtml('