X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=debug.php;h=55381b148a5c67ea035713cb1471bdb9398c2c01;hb=fffda3f261e2e4821e3fc1bf1d7bf25431fca300;hp=df171199c327db1c6ef692cce6e5de085fcbb4b8;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/debug.php b/debug.php index df171199c3..55381b148a 100644 --- a/debug.php +++ b/debug.php @@ -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 * @@ -49,26 +50,26 @@ require('inc/config-global.php'); // Redirect only to registration page when this script is installed if ((isExtensionActive('debug')) && (getTotalFatalErrors() == '0')) { // Is the request parameter set? - if (isPostRequestElementSet('request')) { + if (isPostRequestParameterSet('request')) { // Handle the request - if (DEBUG_HANDLE_REQUEST(postRequestElement('request'))) { + if (DEBUG_HANDLE_REQUEST(postRequestParameter('request'))) { // Construct FQFN for the module $inc = sprintf("inc/debug/%s/request_%s", getConfig('debug_mode'), - SQL_ESCAPE(postRequestElement('request')) + SQL_ESCAPE(postRequestParameter('request')) ); // Is the module there? Else we log it! if (isIncludeReadable($inc)) { - // Load the request module + // Load the requested module loadInclude($inc); } else { - // Missing request file, may happen while development - DEBUG_ABUSE_LOG(__FILE__, __LINE__, 'request_404', postRequestElement('request')); + // Missing request files may happen while development + DEBUG_ABUSE_LOG(__FILE__, __LINE__, 'request_404', postRequestParameter('request')); } } else { // Unhandled request detected - DEBUG_ABUSE_LOG(__FILE__, __LINE__, 'request_unhandled', postRequestElement('request')); + DEBUG_ABUSE_LOG(__FILE__, __LINE__, 'request_unhandled', postRequestParameter('request')); } } else { // Empty request