cvs: /php4/ext/standard dl.c

From: Date: Mon, 24 Apr 2000 15:40:37 +0000
Subject: cvs: /php4/ext/standard dl.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13974@lists.php.net to get a copy of this message
thies Mon Apr 24 08:40:37 2000 EDT Modified files: /php4/ext/standard dl.c Log: RINIT was called twice for modules loaded vi php.ini Index: php4/ext/standard/dl.c diff -u php4/ext/standard/dl.c:1.35 php4/ext/standard/dl.c:1.36 --- php4/ext/standard/dl.c:1.35 Wed Apr 5 14:43:02 2000 +++ php4/ext/standard/dl.c Mon Apr 24 08:40:07 2000 @@ -160,8 +160,7 @@ } zend_register_module(module_entry); - - if (module_entry->request_startup_func) { + if ((type == MODULE_TEMPORARY) && module_entry->request_startup_func) { if (module_entry->request_startup_func(type, module_entry->module_number ELS_CC)) { php_error(E_CORE_WARNING,"%s: Unable to initialize module",module_entry->name); DL_UNLOAD(handle);

« previous php.version4 (#13974) next »