X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=896073d96093a0f20187d99266e00ef53a717899;hb=11c7c0215361456e0fe975901d43f3c834d7044b;hp=49b9553395e5463bd783678d69ff69f6f34ad743;hpb=971a60aaee17e6fc376b433f3f5763c85a512110;p=mailer.git
diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php
index 49b9553395..896073d960 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, let us print it out
- OUTPUT_HTML("- ".$file."
");
+ // Okay, add it
+ 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--}');
}
}