]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Error renamed to 'bug' #2
[mailer.git] / inc / functions.php
index a8870527a70758d83d4acfe1b65fe3fc94581359..515455d3dad516ed923bc2ccbe50499e55d62297 100644 (file)
@@ -2281,6 +2281,12 @@ function app_die ($F, $L, $message) {
                // Make sure, that the script realy realy diese here and now
                $GLOBALS['app_died'] = true;
 
+               // Set content type if not set
+               if (!isContentTypeSet()) {
+                       // text/html is the right one
+                       setContentType('text/html');
+               } // END - if
+
                // Load header
                loadIncludeOnce('inc/header.php');