mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #72300 (ignore_user_abort(false) has no effect)
This commit is contained in:
parent
953ee61a49
commit
f2a814df33
1
NEWS
1
NEWS
@ -25,6 +25,7 @@ PHP NEWS
|
||||
. Fixed bug #72197 (pg_lo_create arbitrary read). (Anatol)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug #72300 (ignore_user_abort(false) has no effect). (Laruence)
|
||||
. Fixed bug #72229 (Wrong reference when serialize/unserialize an object).
|
||||
(Laruence)
|
||||
. Fixed bug #72193 (dns_get_record returns array containing elements of
|
||||
|
@ -5525,7 +5525,7 @@ PHP_FUNCTION(ignore_user_abort)
|
||||
|
||||
old_setting = PG(ignore_user_abort);
|
||||
|
||||
if (arg) {
|
||||
if (ZEND_NUM_ARGS()) {
|
||||
zend_string *key = zend_string_init("ignore_user_abort", sizeof("ignore_user_abort") - 1, 0);
|
||||
zend_alter_ini_entry_chars(key, arg ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
|
||||
zend_string_release(key);
|
||||
|
Loading…
Reference in New Issue
Block a user