mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Removed header('Content-Type... from main.php bootstrapping - was defaulting to text/html - an invalid assumption at such an early stage (see #3685)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72682 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3e596ba66c
commit
8960c03376
1
main.php
1
main.php
@ -57,7 +57,6 @@ if($majorVersion < 5) {
|
|||||||
*/
|
*/
|
||||||
require_once("core/Core.php");
|
require_once("core/Core.php");
|
||||||
|
|
||||||
if(!headers_sent()) header("Content-type: text/html; charset=\"utf-8\"");
|
|
||||||
if (function_exists('mb_http_output')) {
|
if (function_exists('mb_http_output')) {
|
||||||
mb_http_output('UTF-8');
|
mb_http_output('UTF-8');
|
||||||
mb_internal_encoding('UTF-8');
|
mb_internal_encoding('UTF-8');
|
||||||
|
Loading…
Reference in New Issue
Block a user