mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
Restore INI entries after the request shutdown of modules.
This fixes the problems users of the session module encountered when using a save handler other than files.
This commit is contained in:
@@ -664,11 +664,12 @@ void php_request_shutdown(void *dummy)
|
||||
|
||||
php_call_shutdown_functions();
|
||||
|
||||
php_ini_rshutdown();
|
||||
|
||||
if (PG(modules_activated)) {
|
||||
zend_deactivate_modules();
|
||||
}
|
||||
|
||||
php_ini_rshutdown();
|
||||
|
||||
zend_deactivate(CLS_C ELS_CC);
|
||||
sapi_deactivate(SLS_C);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user