summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSongpol Sripao-eiam <sripaoeiam@gmail.com>2012-04-01 15:10:35 +0200
committerSongpol Sripao-eiam <sripaoeiam@gmail.com>2012-04-01 15:10:35 +0200
commit38c0a72169ffbf002c7f3c7fd3b4fd41f0d75f09 (patch)
treeca0a3709c53ee2e1c081b45d57f38d8ea8e3200e
parentb966701fad01c094199a89f7e4df72d981e5cf48 (diff)
Fix style coding
-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]);