New filters introduced for page header, obsolete template removed:
[mailer.git] / install.php
index 7007c9e96123fd544dc61289cb47948b92487675..56d31a6e6df30caf1fbde9520c10fc910803bdeb 100644 (file)
@@ -28,6 +28,7 @@
  * 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                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -71,7 +72,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 +80,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