]> git.mxchange.org Git - mailer.git/blobdiff - login.php
Fix for installation
[mailer.git] / login.php
index afeee167604d1b7e90bf42148d4196547f356f8a..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"
-$CSS = "0";
+$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