cvs: /php4/sapi/apache mod_php4.c

From: Date: Sat, 29 Jan 2000 12:47:29 +0000
Subject: cvs: /php4/sapi/apache mod_php4.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-9553@lists.php.net to get a copy of this message
rasmus Sat Jan 29 04:47:29 2000 EDT Modified files: /php4/sapi/apache mod_php4.c Log: No comment - will explain next week Index: php4/sapi/apache/mod_php4.c diff -u php4/sapi/apache/mod_php4.c:1.16 php4/sapi/apache/mod_php4.c:1.17 --- php4/sapi/apache/mod_php4.c:1.16 Sat Jan 29 03:55:43 2000 +++ php4/sapi/apache/mod_php4.c Sat Jan 29 04:46:59 2000 @@ -17,7 +17,7 @@ | PHP 4.0 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php4.c,v 1.16 2000/01/29 11:55:43 zeev Exp $ */ +/* $Id: mod_php4.c,v 1.17 2000/01/29 12:46:59 rasmus Exp $ */ #include "zend.h" #include "php.h" @@ -358,7 +358,7 @@ * 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 @@ } /* 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);

« previous php.version4 (#9553) next »