aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2017-07-08 14:14:50 -0400
committerKevin J Hoerr <kjhoerr@protonmail.com>2017-07-08 14:14:50 -0400
commit4b0a7c07e3de186d93b2a48b50eee2f9ddcec142 (patch)
tree7fc90640eb57b085b7a581d0184e759249e8db88 /index.php
parent692a4a48d5f8f74a06d0b5890e31887a76a903f3 (diff)
downloadaugust-offensive-4b0a7c07e3de186d93b2a48b50eee2f9ddcec142.tar.gz
august-offensive-4b0a7c07e3de186d93b2a48b50eee2f9ddcec142.tar.bz2
august-offensive-4b0a7c07e3de186d93b2a48b50eee2f9ddcec142.zip
Declare content-type early
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();