X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=c5e1c0b4e11f3583ad1e4d1bcb7b5656a552304a;hb=7e17864b7d07fb5123b1b1d68f83db28ea5394ef;hp=71c7f7d1e0979240bc94354071f83b9280bc52e3;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/install.php b/install.php index 71c7f7d1e0..c5e1c0b4e1 100644 --- a/install.php +++ b/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,8 +56,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 +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