Browse files

We should send a content-type header in case the server is sending a …

…different one.
  • Loading branch information...
reines committed Sep 2, 2009
1 parent 04ab79a commit d4070808cf547bf0c8be6269442a1b723df27ed8
Showing with 2 additions and 0 deletions.
  1. +2 −0 upload/header.php
@@ -33,6 +33,8 @@
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache'); // For HTTP/1.0 compability
// Send the Content-type header in case the web server is setup to send something else
header('Content-type: text/html; charset='.$lang_common['lang_encoding']);
// Load the template
if (defined('PUN_ADMIN_CONSOLE'))

0 comments on commit d407080

Please sign in to comment.