From e7c0a40f83227aedea96f6a4e62d8c0f880210fe Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 4 Dec 2010 14:58:24 +1100 Subject: [PATCH] Fix encoding issue. --- mod.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod.php b/mod.php index 3390d180..744755c6 100644 --- a/mod.php +++ b/mod.php @@ -9,6 +9,9 @@ require 'inc/user.php'; require 'inc/mod.php'; + // Fix some encoding issues + header('Content-Type: text/html; charset=utf-8', true); + // If not logged in if(!$mod) { if(isset($_POST['login'])) { @@ -53,6 +56,8 @@ // TODO: Statistics, etc, in the dashboard. + $body .= '
Configuration' . highlight_file('inc/instance-config.php', true) . '
'; + echo Element('page.html', Array( 'index'=>ROOT, 'title'=>'Dashboard',