summaryrefslogtreecommitdiff
path: root/sapi/roxen/roxen.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2002-09-18 21:57:42 +0000
committerZeev Suraski <zeev@php.net>2002-09-18 21:57:42 +0000
commit76312b4508b43ed2cebd97b749e9e90181e55073 (patch)
treede244c23b518eff0488eb3a965b21e2522ee0454 /sapi/roxen/roxen.c
parent70f17979fb7ac0c7379a48bc86d26a009cfb56ed (diff)
downloadphp-git-76312b4508b43ed2cebd97b749e9e90181e55073.tar.gz
another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial to fix...
Diffstat (limited to 'sapi/roxen/roxen.c')
-rw-r--r--sapi/roxen/roxen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sapi/roxen/roxen.c b/sapi/roxen/roxen.c
index 400fdc6507..d86bb0917c 100644
--- a/sapi/roxen/roxen.c
+++ b/sapi/roxen/roxen.c
@@ -473,8 +473,7 @@ static zend_module_entry php_roxen_module = {
static int php_roxen_startup(sapi_module_struct *sapi_module)
{
- if(php_module_startup(sapi_module) == FAILURE
- || zend_startup_module(&php_roxen_module) == FAILURE) {
+ if(php_module_startup(sapi_module, &php_roxen_module) == FAILURE) {
return FAILURE;
} else {
return SUCCESS;
@@ -486,7 +485,7 @@ static int php_roxen_startup(sapi_module_struct *sapi_module)
static sapi_module_struct roxen_sapi_module = {
"roxen",
"Roxen",
- php_module_startup, /* startup */
+ php_roxen_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
NULL, /* activate */
NULL, /* deactivate */
@@ -698,7 +697,7 @@ void pike_module_init( void )
#endif
#endif
sapi_startup(&roxen_sapi_module);
- php_roxen_startup(&roxen_sapi_module);
+ /*php_roxen_startup(&roxen_sapi_module); removed - should be called from SAPI activation*/
roxen_php_initialized = 1;
PHP_INIT_LOCK();
}