X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=5244ae062744aa79b26b41e8fd2b8c46017bb1b4;hp=5053ac7b8283cc17253edc0ea99d7c6e5f5e079c;hb=d0d1bbc89b4eabf5435babf548616253322b2b16;hpb=f4c3a7ea1b3a8695e403a665ed2a0ad74246ae67 diff --git a/install.php b/install.php index 5053ac7b82..5244ae0627 100644 --- a/install.php +++ b/install.php @@ -6,29 +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, 2010 by Mailer Developer Team * + * 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 * @@ -80,9 +68,9 @@ if (!isGetRequestParameterSet('page')) { setUsername('{--USERNAME_INSTALLER--}'); // Already installed? -if ((isInstalled()) && (getRequestParameter('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 @@ -94,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');