Update uri.php

This commit is contained in:
Namhyeon Go 2020-04-12 18:21:56 +09:00 committed by GitHub
parent 0c56893b05
commit eb5cebf360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
/**
* @file uri.php
* @created_on 2018-04-13
* @updated_on 2020-01-19
* @updated_on 2020-04-12
* @author Go Namhyeon <gnh1201@gmail.com>
* @brief URI module
*/
@ -395,7 +395,7 @@ if(!is_fn("set_header_content_type")) {
if(array_key_exists($type, $rules)) {
header(sprintf("Content-type: %s", $rules[$type]));
} else {
header("Content-type: plain/text");
header("Content-type: text/plain");
}
}
}