]>
Commit | Line | Data |
---|---|---|
90f9589c | 1 | diff -urN php-5.3.0/main/fopen_wrappers.c mod/main/fopen_wrappers.c |
2 | --- php-5.3.0/main/fopen_wrappers.c 2009-06-18 08:38:30.000000000 +0200 | |
3 | +++ mod/main/fopen_wrappers.c 2009-08-18 18:56:55.647272948 +0200 | |
4 | @@ -93,7 +93,7 @@ | |
5 | ||
6 | p = (char **) (base + (size_t) mh_arg1); | |
7 | ||
8 | - if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN) { | |
9 | + if (stage == PHP_INI_STAGE_STARTUP || stage == PHP_INI_STAGE_SHUTDOWN || stage == PHP_INI_STAGE_ACTIVATE || stage == PHP_INI_STAGE_DEACTIVATE) { | |
10 | /* We're in a PHP_INI_SYSTEM context, no restrictions */ | |
11 | *p = new_value; | |
12 | return SUCCESS; |