]> git.mxchange.org Git - mailer.git/commitdiff
Commented out for Opera fix, thanks to profi-concept. More headers added for buggy...
authorRoland Häder <roland@mxchange.org>
Sun, 9 Nov 2008 23:35:07 +0000 (23:35 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 9 Nov 2008 23:35:07 +0000 (23:35 +0000)
inc/databases.php
inc/functions.php
inc/modules/admin/what-overview.php

index 2b16fbd6b5a38b875090810f2ae61cab0ad50964..4e171367b8bcd6de9af5abbe13201f2eee7721fd 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "529");
+define('CURR_SVN_REVISION', "530");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 64d80b098bdd0685fb6e3f69cbea2cbb3f3dadb6..c32fbdc0fa0c27ebaa66483fa9847efee4bd3a23 100644 (file)
@@ -142,6 +142,19 @@ function OUTPUT_HTML($HTML, $NEW_LINE = true) {
                // Clear output buffer for later output
                ob_end_clean();
 
+               // Send HTTP header
+               header("HTTP/1.1 200");
+
+               // Used later
+               $now = gmdate('D, d M Y H:i:s') . ' GMT';
+
+               // General headers for no caching
+               header("Expired: " . $now); // RFC2616 - Section 14.21
+               header("Last-Modified: " . $now);
+               header("Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
+               header("Pragma: no-cache"); // HTTP/1.0
+               header("Connection: Close");
+
                // Extension "rewrite" installed?
                if ((EXT_IS_ACTIVE("rewrite")) && (function_exists('REWRITE_LINKS')) && ($CSS != "1") && ($CSS != "-1")) {
                        $OUTPUT = REWRITE_LINKS($OUTPUT);
index d6c7c10813924c9a556062aecd4bb3b8c21b1854..965ac2be33a9fe8fc706ab6271b7aed8b08f52ab 100644 (file)
@@ -38,7 +38,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+// In Opera browsers the menu is being displayed double: ADD_DESCR("admin", __FILE__);
 
 // Otherwise load include file 'overview-inc' (old standard overview page)
 require_once(PATH."inc/modules/admin/overview-inc.php");