[PHP4BETA] cvs: /php4/sapi/apache mod_php4.c From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/29/00

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 <email protected>> |
    +----------------------------------------------------------------------+
  */
-/* $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);

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>