summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rwxr-xr-xsystem/core/Output.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/core/Output.php b/system/core/Output.php
index c0de24bb9..ea39b0223 100755
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -231,7 +231,8 @@ class CI_Output {
*/
public function get_current_content_type()
{
- foreach ($this->headers as $header){
+ foreach ($this->headers as $header)
+ {
if (preg_match('/^Content-Type/', $header[0]))
{
return str_replace('Content-Type: ', '', $header[0]);