X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=ddc6a6b48e4a615da884a1543de982af8ab7fdf5;hb=414570c5081d337bb6c28dcf521bd8bca02f69e7;hp=c1f1f4a1be70d8808dac7cddfa4fde69970bb583;hpb=1cf72a9c1a5e737509af79d49f0731da2eb6a218;p=mailer.git diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php index c1f1f4a1be..ddc6a6b48e 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:: 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 * @@ -40,9 +45,9 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { // Add description as navigation point ADD_DESCR("admin", __FILE__); -if (!empty($_GET['access'])) { +if (REQUEST_ISSET_GET(('access'))) { // Secure input and construct FQFN - $access = SQL_ESCAPE(strip_tags($_GET['access'])); + $access = SQL_ESCAPE(strip_tags(REQUEST_GET('access'))); $target = sprintf("%slogs/%s", constant('PATH'), $access); // Is the file valid and readable? @@ -84,7 +89,7 @@ if (!empty($_GET['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("
    ");