diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/session/mod_files.c | 1 | ||||
| -rw-r--r-- | ext/session/session.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 8e5c38d40b..2c7e9c7117 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -16,7 +16,6 @@ +----------------------------------------------------------------------+ */ - #include "php.h" #include <sys/stat.h> diff --git a/ext/session/session.c b/ext/session/session.c index 6ddedfcfbf..455fd11296 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -108,7 +108,7 @@ static PHP_INI_MH(OnUpdateStringCopy) p = (char **) (base+(size_t) mh_arg1); - if(*p) { + if(*p && stage != PHP_INI_STAGE_STARTUP) { STR_FREE(*p); } |
