cvs: php4 /sapi/embed php_embed.c
| From: | Edin Kadribasic | Date: | Tue, 28 Jan 2003 13:54:43 +0000 |
| Subject: | cvs: php4 /sapi/embed php_embed.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18237@lists.php.net to get a copy of this message | ||
edink Tue Jan 28 08:54:43 2003 EDT
Modified files:
/php4/sapi/embed php_embed.c
Log:
Call correct module startup function (not a hard coded one) allowing
startup override.
Index: php4/sapi/embed/php_embed.c
diff -u php4/sapi/embed/php_embed.c:1.4 php4/sapi/embed/php_embed.c:1.5
--- php4/sapi/embed/php_embed.c:1.4 Tue Jan 28 05:49:56 2003
+++ php4/sapi/embed/php_embed.c Tue Jan 28 08:54:42 2003
@@ -15,7 +15,7 @@
| Author: Edin Kadribasic <edink@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_embed.c,v 1.4 2003/01/28 10:49:56 edink Exp $ */
+/* $Id: php_embed.c,v 1.5 2003/01/28 13:54:42 edink Exp $ */
#include "php_embed.h"
@@ -174,7 +174,7 @@
sapi_startup(&php_embed_module);
- if (php_module_startup(&php_embed_module, NULL, 0)==FAILURE) {
+ if (php_embed_module.startup(&php_embed_module)==FAILURE) {
return FAILURE;
}