]> git.mxchange.org Git - mailer.git/blobdiff - inc/install/install_page_3.php
Use upcoming functions loadPageHeader() and loadPageFooter() instead of include
[mailer.git] / inc / install / install_page_3.php
index 182bb87d5a34f9458407e8bf1bdda549e22d2494..7a985dab6195e8bbbac99da0f4d093cd1b2c39df 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -36,7 +36,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
@@ -56,9 +56,9 @@ $smtpPass2 = '{?SMTP_PASSWORD?}';
 // Overwrite it with the data from sent (failed) form
 if (isPostRequestElementSet('smtp_host')) $smtpHost = postRequestElement('smtp_host');
 if (isPostRequestElementSet('smtp_user')) $smtpUser = postRequestElement('smtp_user');
-if (isPostRequestElementSet('smtp_pass')) {
-       $smtpPass1 = postRequestElement('smtp_pass');
-       $smtpPass2 = postRequestElement('smtp_pass');
+if (isPostRequestElementSet('smtp_password')) {
+       $smtpPass1 = postRequestElement('smtp_password');
+       $smtpPass2 = postRequestElement('smtp_password');
 } // END - if
 
 // Database login data