mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
No comment - will explain next week
This commit is contained in:
parent
b2449f929c
commit
796ce90c1e
@ -358,7 +358,7 @@ int send_php(request_rec *r, int display_source_mode, char *filename)
|
||||
* directive, then decline to handle this request
|
||||
*/
|
||||
if (!php_apache_info.engine) {
|
||||
r->content_type = "text/html";
|
||||
r->content_type = "text/html;charset=iso-8859-1";
|
||||
r->allowed |= (1 << METHODS) - 1;
|
||||
return DECLINED;
|
||||
}
|
||||
@ -390,7 +390,7 @@ int send_php(request_rec *r, int display_source_mode, char *filename)
|
||||
}
|
||||
/* Assume output will be HTML. Individual scripts may change this
|
||||
further down the line */
|
||||
r->content_type = "text/html";
|
||||
r->content_type = "text/html;charset=iso-8859-1";
|
||||
|
||||
/* Init timeout */
|
||||
hard_timeout("send", r);
|
||||
|
Loading…
Reference in New Issue
Block a user