]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-logs.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / modules / admin / what-logs.php
index c30a89b4c878906cc78c906c0abe00a649467475..c88090e1714b1293fe69eca592893467f15b989b 100644 (file)
@@ -93,7 +93,7 @@ if (REQUEST_ISSET_GET(('access'))) {
        if (isDirectory($dir)) {
                // logs directory does exist
                OUTPUT_HTML("<ol>");
-               $handle = opendir($dir) or mxchange_die("Cannot open directory ".getConfig('logs_base')."!");
+               $handle = opendir($dir) or app_die(__FILE__, __LINE__, "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") {