What happened if i comments ini_set('default_mimetype', '')


Because My host provider not allow to using ini_set(), some error will happened like below~

Warning: ini_set() has been disabled for security reasons in vendor/slim/slim/Slim/App.php on line 575

So… I’m comments vendor/slim/slim/Slim/App.php on line 575, and It’s turn to normal.

// stop PHP sending a Content-Type automatically
// ini_set('default_mimetype', '');

But, I don’t know have another error will happened after comments ini_set('default_mimetype', '');

Anyone can help me. XD



I found information about that by looking at the commit where it was added:



@tflight Thanks for help~