Hotfix
[mailer.git] / install.php
index 7f0946e36c242c7043198f27be617112ee85538f..429abb4272f715763fe23f6268cb1a24517dc04b 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -62,7 +60,7 @@ require('inc/config-global.php');
 setContentType('text/html');
 
 // Reload page to page=welcome when it is not specified
-if (!isGetRequestParameterSet('page')) {
+if (!isGetRequestElementSet('page')) {
        redirectToUrl('install.php?page=welcome');
 } // END - if
 
@@ -70,7 +68,7 @@ if (!isGetRequestParameterSet('page')) {
 setUsername('{--USERNAME_INSTALLER--}');
 
 // Already installed?
-if ((isInstalled()) && (getRequestParameter('page' != 'finished'))) {
+if ((isInstalled()) && (getRequestElement('page') != 'finished')) {
        // Add fatal message
        addFatalMessage(__FILE__, __LINE__, '{--ALREADY_INSTALLED--}');
 } // END - if
@@ -85,7 +83,7 @@ runFilterChain('handle_fatal_errors');
 loadIncludeOnce('inc/install-inc.php');
 
 // Load main installation table
-loadTemplate('install_main', false, getInstallerContent());
+loadTemplate('install_main');
 
 // Footer
 loadIncludeOnce('inc/footer.php');