1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 19:00:26 +02:00

Bugtracker #4065 - roll back fix - it broke other things

This commit is contained in:
e107steved
2007-09-02 08:42:11 +00:00
parent 1899e62b49
commit a298b9c451

View File

@@ -6,8 +6,8 @@
| Released under the terms and conditions of the GNU General Public License (http://gnu.org). | Released under the terms and conditions of the GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $ | $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $
| $Revision: 1.11 $ | $Revision: 1.12 $
| $Date: 2007-09-01 09:05:13 $ | $Date: 2007-09-02 08:42:11 $
| $Author: e107steved $ | $Author: e107steved $
+-----------------------------------------------------------------------------------------------+ +-----------------------------------------------------------------------------------------------+
*/ */
@@ -71,10 +71,10 @@ if (!function_exists("parseheader")) {
// //
// send the charset to the browser - overrides spurious server settings with the lan pack settings. // send the charset to the browser - overrides spurious server settings with the lan pack settings.
// And set the MIME type appropriately // Would like to set the MIME type appropriately - but it broke other things
if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")) //if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml"))
header("Content-type: application/xhtml+xml; charset=".CHARSET, true); // header("Content-type: application/xhtml+xml; charset=".CHARSET, true);
else //else
header("Content-type: text/html; charset=".CHARSET, true); header("Content-type: text/html; charset=".CHARSET, true);