diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-04 14:58:24 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-04 14:58:24 +1100 |
| commit | e7c0a40f83227aedea96f6a4e62d8c0f880210fe (patch) | |
| tree | fe8e961e1a630b30cc9f2478ece04ab69d76d32b | |
| parent | 337728f5911779cee6c28ffdd4dcccac59ce915f (diff) | |
Fix encoding issue.
| -rw-r--r-- | mod.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 .= '<fieldset><legend>Configuration</legend>' . highlight_file('inc/instance-config.php', true) . '</fieldset>'; + echo Element('page.html', Array( 'index'=>ROOT, 'title'=>'Dashboard', |
