]> granicus.if.org Git - php/commitdiff
move php_shutdown_config further down
authorThies C. Arntzen <thies@php.net>
Thu, 16 Aug 2001 09:40:05 +0000 (09:40 +0000)
committerThies C. Arntzen <thies@php.net>
Thu, 16 Aug 2001 09:40:05 +0000 (09:40 +0000)
main/main.c

index cf3e760108a515b3f60e09ef406fefb77ac783d6..ca3dc92170dbad3acded6979be871fd12b4ddb8d 100644 (file)
@@ -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;
 }
 /* }}} */