aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index f8ef302..7b48249 100644
--- a/index.php
+++ b/index.php
@@ -23,6 +23,9 @@ spl_autoload_register(
use AugustOffensive\View;
use AugustOffensive\Controller;
+// configure content type before anything is output
+header("Content-Type: application/" + View\Main::TYPE);
+
try {
// initiate connection and build front-end
$connection = Controller\Controller::initiateConnection();