diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2017-07-08 14:14:50 -0400 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2017-07-08 14:14:50 -0400 |
| commit | 4b0a7c07e3de186d93b2a48b50eee2f9ddcec142 (patch) | |
| tree | 7fc90640eb57b085b7a581d0184e759249e8db88 /index.php | |
| parent | 692a4a48d5f8f74a06d0b5890e31887a76a903f3 (diff) | |
| download | august-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.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(); |
