cvs: php4(PHP_4_3) /sapi/apache2handler php_functions.c
| From: | Ilia Alshanetsky | Date: | Tue, 25 Mar 2003 15:35:27 +0000 |
| Subject: | cvs: php4(PHP_4_3) /sapi/apache2handler php_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19780@lists.php.net to get a copy of this message | ||
iliaa Tue Mar 25 10:35:27 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/sapi/apache2handler php_functions.c
Log:
MFH
Index: php4/sapi/apache2handler/php_functions.c
diff -u php4/sapi/apache2handler/php_functions.c:1.1.2.6
php4/sapi/apache2handler/php_functions.c:1.1.2.7
--- php4/sapi/apache2handler/php_functions.c:1.1.2.6 Mon Mar 24 20:38:50 2003
+++ php4/sapi/apache2handler/php_functions.c Tue Mar 25 10:35:27 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_functions.c,v 1.1.2.6 2003/03/25 01:38:50 sniper Exp $ */
+/* $Id: php_functions.c,v 1.1.2.7 2003/03/25 15:35:27 iliaa Exp $ */
#include "php.h"
#include "ext/standard/php_smart_str.h"
@@ -478,6 +478,9 @@
static PHP_MINIT_FUNCTION(apache)
{
+#ifdef ZTS
+ ts_allocate_id(&php_apache2_info_id, sizeof(php_apache2_info_struct), (ts_allocate_ctor) NULL,
NULL);
+#endif
REGISTER_INI_ENTRIES();
return SUCCESS;
}