]> git.mxchange.org Git - mailer.git/blobdiff - login.php
Fix for installation
[mailer.git] / login.php
index 3d9dab567bc267788eefe9b48b0bd308c10d3278..5de0aee7769a3ed5d527549664102e788b4550cc 100644 (file)
--- a/login.php
+++ b/login.php
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.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_once("inc/config.php");
+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