Update uri.php

This commit is contained in:
Namhyeon Go 2019-06-06 22:35:15 +09:00 committed by GitHub
parent 378f4e29f3
commit 284dd0b3c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {