]> git.mxchange.org Git - mailer.git/blobdiff - install.php
Rewrites for installation phase:
[mailer.git] / install.php
index 56d31a6e6df30caf1fbde9520c10fc910803bdeb..f0e6ff308da6e681ddf8f60f8f3ed791b7c8e5bc 100644 (file)
@@ -57,7 +57,7 @@ require('inc/libs/security_functions.php');
 $GLOBALS['startTime'] = microtime(true);
 
 // Tell every module / require file we are installing
-$GLOBALS['mxchange_installing'] = true;
+$GLOBALS['mailer_installing'] = true;
 
 // Set CSS variable for "normal mode"
 $GLOBALS['output_mode'] = '0';
@@ -82,7 +82,7 @@ setUsername('{--USERNAME_INSTALLER--}');
 // Already installed?
 if ((isInstalled()) && (getRequestParameter('page' != 'finished'))) {
        // Add fatal message
-       addFatalMessage(__FILE__, __LINE__, getMessage('ALREADY_INSTALLED'));
+       addFatalMessage(__FILE__, __LINE__, '{--ALREADY_INSTALLED--}');
 } // END - if
 
 // Load header here
@@ -94,9 +94,6 @@ runFilterChain('handle_fatal_errors');
 // Here start's our installtion stuff
 loadIncludeOnce('inc/install-inc.php');
 
-// Handle fatal errors again
-runFilterChain('handle_fatal_errors');
-
 // Load main installation table
 loadTemplate('install_main', false, $GLOBALS['install_content']);