]> git.mxchange.org Git - mailer.git/blobdiff - login.php
Fix for installation
[mailer.git] / login.php
index d1eaf6c640eeaa3d641c22a291045d87113912ff..5de0aee7769a3ed5d527549664102e788b4550cc 100644 (file)
--- a/login.php
+++ b/login.php
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
-$GLOBALS['what'] = ""; $GLOBALS['action'] = "";
+$GLOBALS['what'] = "";
+$GLOBALS['action'] = "";
 
 // Set module
 $GLOBALS['module'] = "login";
 
+// Set "CSS-Mode"
+$GLOBALS['output_mode'] = "0";
+
 // Load the required file(s)
 require("inc/config.php");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Is this a member?
        if (IS_MEMBER()) {
                // Then redirect into login area