Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / modules / admin / what-logs.php
index e3bce0b26e81d01353f3957a530e05c80d2ac1fd..711ad3edc1e7b87435f1aa07d72db220f89eb89f 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Management fuer Zugriffslogbuecher               *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -77,14 +82,14 @@ if (REQUEST_ISSET_GET(('access'))) {
 
                // Output the logfile's content and exit
                print($content);
-               exit;
+               shutdown();
        } else {
                // Not readable!
                LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('LOGFILE_NOT_READABLE'), $access));
        }
 } else {
        // List access logfiles
-       $dir = PATH.getConfig('logs_base')."/";
+       $dir = constant('PATH') . getConfig('logs_base') . "/";
        if (is_dir($dir)) {
                // logs directory does exist
                OUTPUT_HTML("<ol>");