X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=33c537b6a2d3eeb6b99e372d71bf670a6c9f5831;hp=e3bce0b26e81d01353f3957a530e05c80d2ac1fd;hb=2b388c21a07e07317ccb065d42ef7304cfca7718;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0 diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php index e3bce0b26e..33c537b6a2 100644 --- a/inc/modules/admin/what-logs.php +++ b/inc/modules/admin/what-logs.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Management fuer Zugriffslogbuecher * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * 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,15 +82,15 @@ 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')."/"; - if (is_dir($dir)) { + $dir = constant('PATH') . getConfig('logs_base') . "/"; + if (isDirectory($dir)) { // logs directory does exist OUTPUT_HTML("
    "); $handle = opendir($dir) or mxchange_die("Cannot open directory ".getConfig('logs_base')."!");