More missing config entries added
[mailer.git] / debug.php
index ef780e47402242b70dc7bfb29cfa2405d3cae77d..4bf0774391ad1b24ab86147344f784678ae30d6d 100644 (file)
--- a/debug.php
+++ b/debug.php
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
-// Init "action" and "what"
-$GLOBALS['what'] = '';
-$GLOBALS['action'] = '';
-
 // Set module and fake "CSS mode"
 $GLOBALS['module'] = 'debug';
 $GLOBALS['output_mode'] = -1;
@@ -59,13 +55,13 @@ if ((isInstalled()) && (getTotalFatalErrors() == 0)) {
        } // END - if
 
        // Is the request parameter set?
-       if (REQUEST_ISSET_POST(('request'))) {
+       if (REQUEST_ISSET_POST('request')) {
                // Handle the request
                if (DEBUG_HANDLE_REQUEST(REQUEST_POST('request'))) {
                        // Construct FQFN for the module
                        $INC = sprintf("inc/debug/%s/request_%s",
-                       getConfig('debug_mode'),
-                       SQL_ESCAPE(REQUEST_POST('request'))
+                               getConfig('debug_mode'),
+                               SQL_ESCAPE(REQUEST_POST('request'))
                        );
 
                        // Is the module there? Else we log it!
@@ -92,5 +88,5 @@ if ((isInstalled()) && (getTotalFatalErrors() == 0)) {
 // Really all done here... ;-)
 shutdown();
 
-//
+// [EOF]
 ?>