From: Thies C. Arntzen Date: Thu, 16 Aug 2001 09:40:05 +0000 (+0000) Subject: move php_shutdown_config further down X-Git-Tag: PRE_SUBST_Z_MACROS~501 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=351048297185f37175170cf3ac970bac94f915da;p=php move php_shutdown_config further down --- diff --git a/main/main.c b/main/main.c index cf3e760108..ca3dc92170 100644 --- a/main/main.c +++ b/main/main.c @@ -985,9 +985,6 @@ void php_module_shutdown(TSRMLS_D) return; } - /* close down the ini config */ - php_shutdown_config(); - #ifdef PHP_WIN32 /*close winsock */ WSACleanup(); @@ -1000,12 +997,17 @@ void php_module_shutdown(TSRMLS_D) php_shutdown_fopen_wrappers(TSRMLS_C); php_shutdown_info_logos(); UNREGISTER_INI_ENTRIES(); + + /* close down the ini config */ + php_shutdown_config(); + #ifdef ZTS ts_free_thread(); #else zend_ini_shutdown(TSRMLS_C); shutdown_memory_manager(0, 1); #endif + module_initialized = 0; } /* }}} */