]> git.mxchange.org Git - mailer.git/blobdiff - inc/header.php
Damn typo fixed... ;-)
[mailer.git] / inc / header.php
index a57016954a938722aff8255568e68ce895b673f1..f6897807644b0d10747afaeb403b23897234d489 100644 (file)
  * Kurzbeschreibung  : Gibt nur dann HTML-Code fuer den Kopf-Bereich    *
  *           aus, wenn Frameset nicht aktiv ist                         *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -77,9 +82,6 @@ if (($GLOBALS['header_sent'] != "1") && ($GLOBALS['header_sent'] != "2")) {
                                // Remember title in constant for the template
                                define('__PAGE_TITLE', $TITLE);
                        } elseif ((!isInstalled()) || (!isAdminRegistered())) {
-                               // Load language here
-                               LOAD_INC_ONCE("inc/language/install_".GET_LANGUAGE().".php");
-
                                // Installation mode
                                define('__PAGE_TITLE', sprintf(getMessage('INSTALLATION_OF_MXCHANGE'), constant('MAIN_TITLE')));
                        } else {
@@ -87,7 +89,7 @@ if (($GLOBALS['header_sent'] != "1") && ($GLOBALS['header_sent'] != "2")) {
                                define('__PAGE_TITLE', getMessage('NO_CONFIG_FOUND_TITLE'));
 
                                // Do not add the fatal message in installation mode
-                               if (basename($_SERVER['PHP_SELF']) != "install.php") addFatalMessage(__FILE__, __LINE__, getMessage('NO_CONFIG_FOUND'));
+                               if (!isInstalling()) addFatalMessage(__FILE__, __LINE__, getMessage('NO_CONFIG_FOUND'));
                        }
                } // END - if