X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=5244ae062744aa79b26b41e8fd2b8c46017bb1b4;hp=71c7f7d1e0979240bc94354071f83b9280bc52e3;hb=90ea643fa8c32b94f6f5ed636730d87eb31bba6b;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/install.php b/install.php index 71c7f7d1e0..5244ae0627 100644 --- a/install.php +++ b/install.php @@ -6,28 +6,17 @@ * -------------------------------------------------------------------- * * 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 * + * Copyright (c) 2009 - 2011 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,8 +44,8 @@ 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'; @@ -71,7 +60,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 +68,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 @@ -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', false, getInstallerContent()); // Footer loadIncludeOnce('inc/footer.php');