aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/export_html.php1
-rw-r--r--header.inc.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/api/export_html.php b/api/export_html.php
index 79ade0a..55553c2 100644
--- a/api/export_html.php
+++ b/api/export_html.php
@@ -22,7 +22,6 @@ $bookmarks =& $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUs
// Set up the XML file and output all the posts.
-header('Content-Type: text/html');
echo '<!DOCTYPE NETSCAPE-Bookmark-file-1>'."\r\n";
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">';
echo '<!-- This is an automatically generated file. -->'."\r\n";
diff --git a/header.inc.php b/header.inc.php
index cae71f4..5051002 100644
--- a/header.inc.php
+++ b/header.inc.php
@@ -50,5 +50,5 @@ $tplVars['currentUser'] = $currentUser;
$tplVars['userservice'] = $userservice;
// 6 // Force UTF-8 behaviour for server (cannot be move into top.inc.php which is not included into every file)
-header('Content-Type: text/html; charset=utf-8');
+header('Content-Type: text/html; charset=utf-8');
?>