Andi Gutmans wrote: > > You only have the module globals during requests (rinit/rshutdown). You > can't access them in module init/module shutdown. Yeah, I realized that moments later and removed it. But ZEND_INIT_MODULE_GLOBALS will call the init_globals function before the request starts, right? > > PHP_MINIT_FUNCTION(midgard) > > { > > MidgardClassPtr *midgard_class; > >+ > >+ MGDLS_FETCH(); > >+ MGDG(rcfg) = NULL; > >+ MGDG(dcfg) = NULL; > > > > ZEND_INIT_MODULE_GLOBALS(midgard, php_midgard_init_globals, NULL); Emile -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c Emiliano Heyns
- Re: [PHP-CVS] cvs: php4 /ext/midgard midgard.c Andi Gutmans
- Re: [PHP-CVS] cvs: php4 /ext/midgard midgard... Thies C. Arntzen
- Re: [PHP-CVS] cvs: php4 /ext/midgard mid... Andi Gutmans
- Re: [PHP-CVS] cvs: php4 /ext/midgar... Thies C. Arntzen
- Re: [PHP-CVS] cvs: php4 /ext/midgard midgard... Emiliano
- Re: [PHP-CVS] cvs: php4 /ext/midgard mid... Andi Gutmans
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c Emiliano Heyns
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c David Guerizec
- Re: [PHP-CVS] cvs: php4 /ext/midgard midgard.c Andi Gutmans
- [PHP-CVS] cvs: php4 /ext/midgard midgard.c Emiliano Heyns