diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2009-07-31 21:09:45 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2009-07-31 21:09:45 +0000 |
commit | 8608857c1a833ce87ece01f9aafc08a51ce7f566 (patch) | |
tree | 3a89f40e3f0f2129844ac794cb5632dcfe96d9ed /main/fopen_wrappers.c | |
parent | f56d6b67b54f20b04a3382a7885ece8fb0705af1 (diff) | |
download | php-git-8608857c1a833ce87ece01f9aafc08a51ce7f566.tar.gz |
Fix bug #48880
The ini entry was being corrupted because it wasn't being set
on the ACTIVATE and DEACTIVATE stages.
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r-- | main/fopen_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index c9c7545871..7c6dc4f7d5 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -93,7 +93,7 @@ PHPAPI ZEND_INI_MH(OnUpdateBaseDir) p = (char **) (base + (size_t) mh_arg1); - if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN) { + if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN || stage == PHP_INI_STAGE_ACTIVATE || stage == PHP_INI_STAGE_DEACTIVATE) { /* We're in a PHP_INI_SYSTEM context, no restrictions */ *p = new_value; return SUCCESS; |