cvs: /php4 ChangeLog mod_php4.c output.c
| From: | Zeev Suraski | Date: | Sun, 12 Sep 1999 03:08:29 +0000 |
| Subject: | cvs: /php4 ChangeLog mod_php4.c output.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4357@lists.php.net to get a copy of this message | ||
zeev Sat Sep 11 23:08:29 1999 EDT
Modified files:
/php4 ChangeLog mod_php4.c output.c
Log:
Index: php4/ChangeLog
diff -u php4/ChangeLog:1.95 php4/ChangeLog:1.96
--- php4/ChangeLog:1.95 Sat Sep 11 20:44:08 1999
+++ php4/ChangeLog Sat Sep 11 23:08:29 1999
@@ -2,6 +2,11 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? 1999, Version 4.0 Beta 3
+<<<<<<< ChangeLog
+<<<<<<< ChangeLog
+- Renamed allow_builtin_links to expose_php (defaults to On). This directive
+ tells PHP whether it may expose its existence to the outside world, e.g.
+ by adding itself to the Web server header (Zeev)
- Added support for transparent session id propagation (Sascha)
- Made WDDX serialize object properties properly (Andrey)
- Fixed WDDX mem leak when undefined variable is passed in
@@ -22,7 +27,7 @@
- Resourcified Informix driver (Danny)
- New resource handling for odbc, renamed to php_odbc.[ch]
- Make set_time_limit() work on Unix (Rasmus)
-- Add connection handling support (Rasmus)
+- Added connection handling support (Rasmus)
- Improved the Sybase-CT module to make use of resources (Zeev)
- Improved the mSQL module to make use of resources (Zeev)
- Changed mysql_query() and mysql_db_query() to return false in case of saving
Index: php4/mod_php4.c
diff -u php4/mod_php4.c:1.22 php4/mod_php4.c:1.23
--- php4/mod_php4.c:1.22 Wed Sep 8 07:53:16 1999
+++ php4/mod_php4.c Sat Sep 11 23:08:29 1999
@@ -17,7 +17,7 @@
| PHP 4.0 patches by Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php4.c,v 1.22 1999/09/08 11:53:16 riffraff Exp $ */
+/* $Id: mod_php4.c,v 1.23 1999/09/12 03:08:29 zeev Exp $ */
#include "httpd.h"
#include "http_config.h"
@@ -488,7 +488,9 @@
apache_php_initialized = 1;
}
#if MODULE_MAGIC_NUMBER >= 19980527
- ap_add_version_component("PHP/" PHP_VERSION);
+ if (INI_INT("expose_php")) {
+ ap_add_version_component("PHP/" PHP_VERSION);
+ }
#endif
}
Index: php4/output.c
diff -u php4/output.c:1.16 php4/output.c:1.17
--- php4/output.c:1.16 Sat Sep 11 20:32:22 1999
+++ php4/output.c Sat Sep 11 23:08:29 1999
@@ -207,7 +207,7 @@
}
zend_body_write = zend_ub_body_write_no_header;
- result = zend_header_write(str, str_length);
+ result = zend_ub_body_write_no_header(str, str_length);
if (newstr) {
free(newstr);