]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-logs.php
Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / inc / modules / admin / what-logs.php
index 33c537b6a2d3eeb6b99e372d71bf670a6c9f5831..c88090e1714b1293fe69eca592893467f15b989b 100644 (file)
@@ -10,7 +10,7 @@
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Management fuer Zugriffslogbuecher               *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
+ * $Revision::                                                        $ *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
@@ -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") {