diff options
author | Stig Bakken <ssb@php.net> | 2000-02-24 22:00:47 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2000-02-24 22:00:47 +0000 |
commit | ba03c9f2aa50149197753743c490c1de4f0364f2 (patch) | |
tree | 4599adec809b6321e9a53c44c5b431e123f1472b /sapi/apache | |
parent | b51805caeb1f0c1831972fc6d495de9d8b5f2b49 (diff) | |
download | php-git-ba03c9f2aa50149197753743c490c1de4f0364f2.tar.gz |
started implementing directives for default mimetype/charset
Diffstat (limited to 'sapi/apache')
-rw-r--r-- | sapi/apache/mod_php4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 25edeb4d53..226ccbd1b8 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -428,7 +428,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;charset=iso-8859-1"; + r->content_type = SAPI_DEFAULT_CONTENT_TYPE; /* XXX FIXME use default_{mimetype|charset} directives */ r->allowed |= (1 << METHODS) - 1; return DECLINED; } @@ -460,7 +460,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;charset=iso-8859-1"; + r->content_type = SAPI_DEFAULT_CONTENT_TYPE; /* XXX FIXME use default_{mimetype|charset} directives */ /* Init timeout */ hard_timeout("send", r); |