Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / footer.php
index 911cbc4921259a48dfa54af73e51350b33f4eb93..fcb2ec0c14b2374d7336713d1d8f338f808f58c9 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Den Fuss des HTML-Codes hinzufuegen              *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * 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                  *
@@ -39,7 +44,8 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Footer disabled or already sent?
-if (($GLOBALS['footer_sent'] != "1") && ($GLOBALS['footer_sent'] != "2") && ($GLOBALS['output_mode'] != "1")) {
+// 1234      5                       54    45                              5    5                              543    3                              321
+if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != "1") && ($GLOBALS['footer_sent'] != "2"))) && ($GLOBALS['output_mode'] != "1"))) {
        // Output the generated HTML code or do nothing in direct-mode
        if (getTotalFatalErrors() > 0) {
                // Output fatal error messages
@@ -77,5 +83,8 @@ $GLOBALS['footer_sent'] = 1;
 // Output HTML code
 OUTPUT_HTML("");
 
+// Shutdown
+shutdown();
+
 //
 ?>