]> git.mxchange.org Git - mailer.git/blobdiff - install.php
Global variables rewritten
[mailer.git] / install.php
index b6f2416d36315c62db112e7984b0c574303ea633..8cab9a1ce16915349606996ecd227006aa5da2d1 100644 (file)
@@ -45,7 +45,7 @@
 define('mxchange_installing', true);
 
 // Load security system
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -53,13 +53,13 @@ $GLOBALS['what']   = "";
 $GLOBALS['action'] = "";
 
 // Set CSS variable for "normal mode"
-$CSS = 0;
+$GLOBALS['output_mode'] = 0;
 
 // Set module
 $GLOBALS['module'] = "install";
 
 // Load config file
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Header
 LOAD_INC("inc/header.php");
@@ -72,7 +72,7 @@ if (!isset($_GET['page'])) {
 // Already installed?
 if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered'))) {
        // Add fatal message
-       addFatalMessage(ALREADY_INSTALLED);
+       addFatalMessage(getMessage('ALREADY_INSTALLED'));
 } // END - if
 
 // Does something goes wrong?