New (template) wrapper function fixEmptyContentToDashes() introduced, EL rewrites:
[mailer.git] / install.php
index 1f3ff34eadb1ed18e1497d8ceb4d8dd8b4f1171e..c5e1c0b4e11f3583ad1e4d1bcb7b5656a552304a 100644 (file)
@@ -1,7 +1,7 @@
 <?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                                      *
@@ -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 *
@@ -55,11 +56,11 @@ 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;
+$GLOBALS['output_mode'] = '0';
 
 // Set module
 $GLOBALS['module'] = 'install';
@@ -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,9 +80,9 @@ 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'));
+       addFatalMessage(__FILE__, __LINE__, '{--ALREADY_INSTALLED--}');
 } // END - if
 
 // Load header here