Fix encoding issue.
This commit is contained in:
parent
337728f591
commit
e7c0a40f83
5
mod.php
5
mod.php
|
@ -9,6 +9,9 @@
|
||||||
require 'inc/user.php';
|
require 'inc/user.php';
|
||||||
require 'inc/mod.php';
|
require 'inc/mod.php';
|
||||||
|
|
||||||
|
// Fix some encoding issues
|
||||||
|
header('Content-Type: text/html; charset=utf-8', true);
|
||||||
|
|
||||||
// If not logged in
|
// If not logged in
|
||||||
if(!$mod) {
|
if(!$mod) {
|
||||||
if(isset($_POST['login'])) {
|
if(isset($_POST['login'])) {
|
||||||
|
@ -53,6 +56,8 @@
|
||||||
|
|
||||||
// TODO: Statistics, etc, in the dashboard.
|
// TODO: Statistics, etc, in the dashboard.
|
||||||
|
|
||||||
|
$body .= '<fieldset><legend>Configuration</legend>' . highlight_file('inc/instance-config.php', true) . '</fieldset>';
|
||||||
|
|
||||||
echo Element('page.html', Array(
|
echo Element('page.html', Array(
|
||||||
'index'=>ROOT,
|
'index'=>ROOT,
|
||||||
'title'=>'Dashboard',
|
'title'=>'Dashboard',
|
||||||
|
|
Loading…
Reference in New Issue