X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=8cab9a1ce16915349606996ecd227006aa5da2d1;hb=17260933e4315feda69c4d54c97df5dab0ebbc1e;hp=b6f2416d36315c62db112e7984b0c574303ea633;hpb=80294f717c1b43c946885e562428dc23db06b9e9;p=mailer.git diff --git a/install.php b/install.php index b6f2416d36..8cab9a1ce1 100644 --- a/install.php +++ b/install.php @@ -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?