summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php2
1 files changed, 1 insertions, 1 deletions
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'){