From 907ac107ddb83702d2f67ebb7022711e39a62b5a Mon Sep 17 00:00:00 2001
From: andi <andi@splitbrain.org>
Date: Wed, 9 Feb 2005 20:04:00 +0100
Subject: [PATCH] moved content header (maybe fixes #110)

darcs-hash:20050209190400-9977f-a416f864348340eb2ae4052249bbc1a86dfd781b.gz
---
 doku.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doku.php b/doku.php
index 36aece430..e25ce324a 100644
--- a/doku.php
+++ b/doku.php
@@ -41,7 +41,6 @@
   if(empty($ID))  $ID  = $conf['start'];
   if(empty($ACT)) $ACT = 'show';
 
-  header('Content-Type: text/html; charset='.$lang['encoding']);
 
   if($ACT == 'debug'){
     html_debug();
@@ -117,6 +116,7 @@
   }
 
   //start output
+  header('Content-Type: text/html; charset='.$lang['encoding']);
   if(substr($ACT,0,6) != 'export') html_header();
   if(html_acl($permneed)){
     if($ACT == 'edit'){
-- 
GitLab