]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-logs.php
Some functions renamed:
[mailer.git] / inc / modules / admin / what-logs.php
index 896073d96093a0f20187d99266e00ef53a717899..e3ba9580c3a431f2a2396fd9389bb2ea5dad5115 100644 (file)
@@ -56,19 +56,19 @@ if (isGetRequestElementSet('access')) {
                // Set header
                if (substr($access, -3, 3) == 'log') {
                        // Output header
-                       sendHeader('Content-Type: text/plain');
+                       addHttpHeader('Content-Type: text/plain');
 
                        // Clean content
                        clearOutputBuffer();
                } elseif (substr($access, -3, 3) == '.gz') {
                        // @TODO Fix content-type here
-                       sendHeader('Content-Type: text/plain');
+                       addHttpHeader('Content-Type: text/plain');
 
                        // Clean content
                        clearOutputBuffer();
                } elseif (substr($access, -3, 3) == '.bz2') {
                        // @TODO Fix content-type here
-                       sendHeader('Content-Type: text/plain');
+                       addHttpHeader('Content-Type: text/plain');
 
                        // Clean content
                        clearOutputBuffer();