X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=429abb4272f715763fe23f6268cb1a24517dc04b;hp=7007c9e96123fd544dc61289cb47948b92487675;hb=50ec4267016d288831aee809120992423db563e1;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c diff --git a/install.php b/install.php index 7007c9e961..429abb4272 100644 --- a/install.php +++ b/install.php @@ -6,29 +6,18 @@ * -------------------------------------------------------------------- * * 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 * @@ -56,7 +45,7 @@ require('inc/libs/security_functions.php'); $GLOBALS['startTime'] = microtime(true); // Tell every module / require file we are installing -$GLOBALS['mxchange_installing'] = true; +$GLOBALS['mailer_installing'] = true; // Set CSS variable for "normal mode" $GLOBALS['output_mode'] = '0'; @@ -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');