From: Sascha Schumann Date: Sun, 9 Jul 2000 13:20:27 +0000 (+0000) Subject: Restore INI entries after the request shutdown of modules. X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2cfa840eb5e9533fa4c09826938de6b6b9ac3310;p=php 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. --- diff --git a/main/main.c b/main/main.c index cf43c3e6c2..323bc424e4 100644 --- a/main/main.c +++ b/main/main.c @@ -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);