X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=debug.php;h=f7e28dc25c8fdae63e53c27b09d5e0bfea79ad19;hp=c7cf9e90231fe0122921015be3cabe1f9e5dfca8;hb=a7c7b8307405aa270a38ce4e363c41b3d1c9c745;hpb=05e9ddd952a47d42b9970a9d2afef20d77d3aecf diff --git a/debug.php b/debug.php index c7cf9e9023..f7e28dc25c 100644 --- a/debug.php +++ b/debug.php @@ -39,16 +39,12 @@ // 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; // Load the required file(s) -require('inc/config.php'); +require('inc/config-global.php'); // Redirect only to registration page when this script is installed if ((isInstalled()) && (getTotalFatalErrors() == 0)) { @@ -59,7 +55,7 @@ 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