One more found
[mailer.git] / install.php
index 22e48ef1b1417cd0909ab8f113e3672f92c5a305..7c7bc4fc4b6047f056687268ac2c100c0c22561c 100644 (file)
@@ -1,34 +1,23 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 08/25/2003 *
- * ===============                              Last change: 04/26/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 08/25/2003 *
+ * ===================                          Last change: 04/26/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : install.php                                      *
  * -------------------------------------------------------------------- *
- *                                                                      *
- *          ------------------------------------------------            *
- *         / PLEASE READ THIS!  /  BITTE LESEN SIE DIESES! /            *
- *        -------------------------------------------------             *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * Short description : Installation script. Please delete this file     *
- *           after successfully installation or ANYONE can re-setup     *
- *           your mail exchange script!!!                               *
+ * Short description : Installation script.                             *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Installationsscript. Bitte loeschen Sie diese    *
- *           Datei nach der fertiggestellten Installation oder JEDER    *
- *           kann Ihr Mailtausch-Script eventuell neu einstellen.       *
+ * Kurzbeschreibung  : Installationsscript.                             *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $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                           *
- * 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 *
@@ -55,14 +44,14 @@ require('inc/libs/security_functions.php');
 // Init start time
 $GLOBALS['startTime'] = microtime(true);
 
-// Tell every module / include file we are installing
-$GLOBALS['mxchange_installing'] = true;
+// Tell every module / require file we are installing
+$GLOBALS['mailer_installing'] = true;
 
 // Set CSS variable for "normal mode"
 $GLOBALS['output_mode'] = '0';
 
 // Set module
-$GLOBALS['module'] = 'install';
+$GLOBALS['__module'] = 'install';
 
 // Load config file
 require('inc/config-global.php');
@@ -79,9 +68,9 @@ if (!isGetRequestElementSet('page')) {
 setUsername('{--USERNAME_INSTALLER--}');
 
 // Already installed?
-if ((isInstalled()) && (getRequestElement('page' != 'finished'))) {
+if ((isInstalled()) && (getRequestElement('page') != 'finished')) {
        // Add fatal message
-       addFatalMessage(__FILE__, __LINE__, getMessage('ALREADY_INSTALLED'));
+       addFatalMessage(__FILE__, __LINE__, '{--ALREADY_INSTALLED--}');
 } // END - if
 
 // Load header here
@@ -93,11 +82,8 @@ 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']);
+loadTemplate('install_main');
 
 // Footer
 loadIncludeOnce('inc/footer.php');