]> git.mxchange.org Git - mailer.git/blobdiff - debug.php
More globals rewritten, see #100
[mailer.git] / debug.php
index 492fe3654853b49f4263a68d133f4a1c7e6e8c4a..38b90c5b9e2bad2c9331194b47e9eca669880f4c 100644 (file)
--- a/debug.php
+++ b/debug.php
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
 $GLOBALS['what'] = "";
 $GLOBALS['action'] = "";
 
 // Set module and fake "CSS mode"
-$GLOBALS['module'] = "debug"; $CSS = -1;
+$GLOBALS['module'] = "debug";
+$GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
 require("inc/config.php");
@@ -64,7 +64,7 @@ if ((isBooleanConstantAndTrue('mxchange_installed')) && (getTotalFatalErrors() =
                        );
 
                        // Is the module there? Else we log it!
-                       if (FILE_READABLE($INC)) {
+                       if (INCLUDE_READABLE($INC)) {
                                // Load the request module
                                LOAD_INC($INC);
                        } else {