]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-logs.php
Rewrites/fixes for handling config entries in SQLs
[mailer.git] / inc / modules / admin / what-logs.php
index b4e22c82340c6de86eea4b4dc00be395e281e6d1..0b9c0f65c8635506362455a114381a460c783eb7 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -44,9 +45,9 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
 
-if (isGetRequestElementSet('access')) {
+if (isGetRequestParameterSet('access')) {
        // Secure input and construct FQFN
-       $access = SQL_ESCAPE(secureString(getRequestElement('access')));
+       $access = SQL_ESCAPE(secureString(getRequestParameter('access')));
        $target = sprintf("%slogs/%s", getConfig('PATH'), $access);
 
        // Is the file valid and readable?