]> git.mxchange.org Git - mailer.git/blobdiff - install.php
Some typos fixed
[mailer.git] / install.php
index 51fb165eacc5238343035fbc54a520951c447516..a700f22dab2d17f1202c36405d92c6c43482a112 100644 (file)
@@ -52,6 +52,9 @@ global $what, $action;
 $GLOBALS['what']   = "";
 $GLOBALS['action'] = "";
 
+// Set CSS variable for "normal mode"
+$CSS = 0;
+
 // Set module
 $GLOBALS['module'] = "install";
 
@@ -69,11 +72,11 @@ if (!isset($_GET['page'])) {
 // Already installed?
 if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered'))) {
        // Add fatal message
-       ADD_FATAL(ALREADY_INSTALLED);
+       addFatalMessage(ALREADY_INSTALLED);
 } // END - if
 
 // Does something goes wrong?
-if ((sizeof($FATAL == 0)) && (empty($FATAL[0]))) {
+if (getTotalFatalErrors() == 0) {
        // Add main installation table
        LOAD_TEMPLATE("install_header");