mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Don't enable rc_debug mode if module startup fails
This commit is contained in:
@@ -2349,7 +2349,9 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
|
||||
zend_interned_strings_switch_storage(1);
|
||||
|
||||
#if ZEND_RC_DEBUG
|
||||
zend_rc_debug = 1;
|
||||
if (retval == SUCCESS) {
|
||||
zend_rc_debug = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* we're done */
|
||||
|
||||
Reference in New Issue
Block a user