Further fixes for installation phase and endless loop
[mailer.git] / inc / functions.php
index 27dc9ab3493f7e9969f3162673e4b43f8f8124e7..fd2eab7f3dd216f1fccbe8b94ec91c072ea06f23 100644 (file)
@@ -3509,6 +3509,9 @@ function handleFatalErrors () {
                return false;
        } // END - if
 
+       // Set content type
+       setContentType('text/html');
+
        // Load config here
        loadIncludeOnce('inc/load_config.php');
 
@@ -3567,6 +3570,9 @@ function handleFatalErrors () {
                'corr' => $CORR
        );
 
+       // Load footer
+       loadIncludeOnce('inc/header.php');
+
        // Load main template
        loadTemplate('fatal_errors', false, $content);