Update uri.php
This commit is contained in:
parent
e70e75f045
commit
d101bbe6f2
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user