First batch of removal of the headers needed for revision-functions.php
[mailer.git] / debug.php
index 36638d270508ef6fadd6eb19cc576143375b92b2..d7cfc06bad8300b1ed925e55348b4ea91eb6b3f9 100644 (file)
--- a/debug.php
+++ b/debug.php
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Empfangsscript fuer debug.log Dateien            *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
@@ -55,9 +50,9 @@ if ((isExtensionActive('debug')) && (!ifFatalErrorsDetected())) {
                // Handle the request
                if (DEBUG_HANDLE_REQUEST(postRequestElement('request'))) {
                        // Construct FQFN for the module
-                       $inc = sprintf("inc/debug/%s/request_%s.php",
+                       $inc = sprintf('inc/debug/%s/request_%s.php',
                                getConfig('debug_mode'),
-                               SQL_ESCAPE(postRequestElement('request'))
+                               sqlEscapeString(postRequestElement('request'))
                        );
 
                        // Is the module there? Else we log it!