Update uri.php
This commit is contained in:
parent
378f4e29f3
commit
284dd0b3c5
|
@ -338,9 +338,10 @@ if(!check_function_exists("set_header_content_type")) {
|
|||
$rules = array(
|
||||
"json" => "application/json",
|
||||
"xml" => "text/xml",
|
||||
"text" => "text/plain",
|
||||
"txt" => "text/plain",
|
||||
"html" => "text/html",
|
||||
"xhtml" => "application/xhtml+xml"
|
||||
"cspt" => "application/catsplit",
|
||||
);
|
||||
|
||||
if(array_key_exists($type, $rules)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user