From d101bbe6f27ff666486485c512c1937ee1c262e7 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sat, 25 Aug 2018 00:19:22 +0900 Subject: [PATCH] Update uri.php --- system/uri.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/uri.php b/system/uri.php index 1e4081a..779e044 100644 --- a/system/uri.php +++ b/system/uri.php @@ -219,7 +219,8 @@ if(!function_exists("check_is_string_not_array")) { } if(!function_exists("set_header_content_type")) { - function set_header_content_type($type) { + function set_header_content_type($type) + $type = strtolower($type); $rules = array( "json" => "application/json", "xml" => "text/xml",