Advertising
- zend.c patch
- Thursday, November 2nd, 2006 at 3:55:15am MST
- --- zend.c.old 2006-10-16 14:31:02.000000000 +0100
- +++ zend.c 2006-11-02 09:53:12.234375000 +0000
- @@ -522,8 +522,9 @@
- static void zend_new_thread_end_handler(THREAD_T thread_id TSRMLS_DC)
- {
- - zend_copy_ini_directives(TSRMLS_C);
- - zend_ini_refresh_caches(ZEND_INI_STAGE_STARTUP TSRMLS_CC);
- + if (zend_copy_ini_directives(TSRMLS_C) == SUCCESS) {
- + zend_ini_refresh_caches(ZEND_INI_STAGE_STARTUP TSRMLS_CC);
- + }
- }
- #endif
- @@ -700,7 +701,7 @@
- free(EG(zend_constants));
- executor_globals_ctor(executor_globals, tsrm_ls);
- global_persistent_list = &EG(persistent_list);
- - zend_new_thread_end_handler(tsrm_thread_id() TSRMLS_CC);
- + zend_copy_ini_directives(TSRMLS_C);
- }
- #endif
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.