1
0
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:
Sascha Schumann
2000-07-09 13:20:27 +00:00
parent 59604815e1
commit 2cfa840eb5

View File

@@ -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);