Fix for registration, logic went wrong...
[mailer.git] / install.php
index 71c7f7d1e0979240bc94354071f83b9280bc52e3..89b588949de2e872353dfdafadf44f92d70a0f23 100644 (file)
@@ -55,7 +55,7 @@ require('inc/libs/security_functions.php');
 // Init start time
 $GLOBALS['startTime'] = microtime(true);
 
-// Tell every module / include file we are installing
+// Tell every module / require file we are installing
 $GLOBALS['mxchange_installing'] = true;
 
 // Set CSS variable for "normal mode"
@@ -71,7 +71,7 @@ require('inc/config-global.php');
 setContentType('text/html');
 
 // Reload page to page=welcome when it is not specified
-if (!isGetRequestElementSet('page')) {
+if (!isGetRequestParameterSet('page')) {
        redirectToUrl('install.php?page=welcome');
 } // END - if
 
@@ -79,7 +79,7 @@ if (!isGetRequestElementSet('page')) {
 setUsername('{--USERNAME_INSTALLER--}');
 
 // Already installed?
-if ((isInstalled()) && (getRequestElement('page' != 'finished'))) {
+if ((isInstalled()) && (getRequestParameter('page' != 'finished'))) {
        // Add fatal message
        addFatalMessage(__FILE__, __LINE__, getMessage('ALREADY_INSTALLED'));
 } // END - if