X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=a5ce46945d6df2bd49cd4bc291a4646534fdf84e;hp=2496ac5035d199157fd77ffde7dffcf963995263;hb=bb47f1005eabd32848497388bf0e99012b6fd1cf;hpb=2e68ea39a430a7217e58747b877acaa3e92ea997 diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php index 2496ac5035..a5ce46945d 100644 --- a/inc/modules/admin/what-logs.php +++ b/inc/modules/admin/what-logs.php @@ -84,11 +84,11 @@ if (!empty($_GET['access'])) { } } else { // List access logfiles - $dir = PATH.LOGS_BASE."/"; + $dir = PATH.getConfig('logs_base')."/"; if (is_dir($dir)) { // logs directory does exist OUTPUT_HTML("
    "); - $handle = opendir($dir) or mxchange_die("Cannot open directory ".LOGS_BASE."!"); + $handle = opendir($dir) or mxchange_die("Cannot open directory ".getConfig('logs_base')."!"); while ($file = readdir($handle)) { // We currenly only like files with "access" as prefix, should be more flexible! if (substr($file, 0, 6) == "access") { @@ -100,7 +100,7 @@ if (!empty($_GET['access'])) { OUTPUT_HTML("
"); } else { // logs directory does not exist - LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_LOGS_DIR_404_1.LOGS_BASE.ADMIN_LOGS_DIR_404_2); + LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_LOGS_DIR_404_1.getConfig('logs_base').ADMIN_LOGS_DIR_404_2); } }