X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=285e3ce60d2197af5f875a5313359a7f1a348c14;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=c69492f710c279e2d39d7c2fffdc2268c314a0ee;hpb=72288d31358f8061513f8d3d61a1f9e7feb44e50;p=mailer.git
diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php
index c69492f710..285e3ce60d 100644
--- a/inc/modules/admin/what-logs.php
+++ b/inc/modules/admin/what-logs.php
@@ -1,7 +1,7 @@
');
+ outputHtml('
');
// 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
- OUTPUT_HTML("- ".$file."
");
+ outputHtml('- ' . $file . '
');
} // END - foreach
// Finish list
- OUTPUT_HTML('
');
+ outputHtml('');
} else {
// logs directory does not exist
- LOAD_TEMPLATE('admin_settings_saved', false, sprintf(getMessage('ADMIN_LOGS_DIR_404'), getConfig('logs_base')));
+ displayMessage('{--ADMIN_LOGS_DIR_404--}');
}
}