summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorKyle Johnson <blyxx86@gmail.com>2012-10-05 11:51:31 +0200
committerKyle Johnson <blyxx86@gmail.com>2012-10-05 11:51:31 +0200
commitfad389699e2e851af09c1f4508646194c2f45660 (patch)
tree8a595af2bd1980e4a475f5db5f4ce9f7bc8cd170 /system/core/Common.php
parentddb32da0e86510d7e68c5432a1657732a01b5d34 (diff)
parentf20bca9e065751fc271cb650f9246073492eccea (diff)
Fixed conflicts in changelog to reflect all changes.
Conflicts: user_guide_src/source/changelog.rst
Diffstat (limited to 'system/core/Common.php')
-rw-r--r--system/core/Common.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 57374b07d..e449dd2e0 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -488,13 +488,9 @@ if ( ! function_exists('set_status_header'))
{
header('Status: '.$code.' '.$text, TRUE);
}
- elseif ($server_protocol === 'HTTP/1.0')
- {
- header('HTTP/1.0 '.$code.' '.$text, TRUE, $code);
- }
else
{
- header('HTTP/1.1 '.$code.' '.$text, TRUE, $code);
+ header(($server_protocol ? $server_protocol : 'HTTP/1.1').' '.$code.' '.$text, TRUE, $code);
}
}
}