]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
also prevent it in .htacces. You may want to add this to one of your files in /etc...
[mailer.git] / inc / install-inc.php
index 4a7443d451ddd30835f02ee3255c294d61d3d5fb..ab96d7b41ec19026c59858839872e3ba24412dd9 100644 (file)
@@ -6,17 +6,12 @@
  * -------------------------------------------------------------------- *
  * File              : install-inc.php                                  *
  * -------------------------------------------------------------------- *
- * Short description : Functions for installation procedure             *
+ * Short description : Initial stuff for plain (old) installer          *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Funktionen fuer die Installationsroutine         *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
+ * Kurzbeschreibung  : Initiale Dinge fuer alten Installer              *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -36,7 +31,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if ((!defined('__SECURITY')) || (!isInstallationPhase())) {
+if ((!defined('__SECURITY')) || (!isInstaller())) {
        die();
 } // END - if
 
@@ -97,7 +92,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                loadIncludeOnce($inc);
        } else {
                // Not found, may be invalid page
-               logDebugMessage(__FILE__, __LINE__, sprintf("Wrong install_page=%s detected", getRequestElement('install_page')));
+               logDebugMessage(__FILE__, __LINE__, sprintf('Wrong install_page=%s detected', getRequestElement('install_page')));
                addTemplateToInstallContent('admin_settings_unsaved', '{%message,INSTALLER_WRONG_PAGE=' . getRequestElement('install_page') . '%}');
        }
 } else {