X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=285e3ce60d2197af5f875a5313359a7f1a348c14;hb=1410e014d23f244e73d3a7916a61c2473416bab9;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..285e3ce60d 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('