More globals rewritten, see #100
[mailer.git] / index.php
index e9264b7bcc4f6e21d2b76eb78557aba8e0b9366c..4f2b720262c8a11511b26d458a842dd6c948e512 100644 (file)
--- a/index.php
+++ b/index.php
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
-$GLOBALS['what'] = ""; $GLOBALS['action'] = "";
-
-// Set "CSS-Mode"
-$GLOBALS['output_mode'] = "0";
+$GLOBALS['what'] = "";
+$GLOBALS['action'] = "";
 
 // Set module
 $GLOBALS['module'] = "index";
 
+// Set "CSS-Mode"
+$GLOBALS['output_mode'] = "0";
+
 // Load config.php
 require("inc/config.php");