3
@@ -201,6 +201,7 @@ PHPAPI void config_zval_dtor(zval *zvalu
4
/* Reset / free active_ini_sectin global */
5
#define RESET_ACTIVE_INI_HASH() do { \
6
active_ini_hash = NULL; \
7
+ is_special_section = 0; \
11
@@ -628,9 +629,6 @@ int php_init_config(TSRMLS_D)
12
zend_llist_element *element;
15
- /* Reset active ini section */
16
- RESET_ACTIVE_INI_HASH();
18
if ((ndir = php_scandir(php_ini_scanned_path, &namelist, 0, php_alphasort)) > 0) {
19
zend_llist_init(&scanned_ini_list, sizeof(char *), (llist_dtor_func_t) free_estring, 1);
20
memset(&fh, 0, sizeof(fh));
21
@@ -642,6 +640,9 @@ int php_init_config(TSRMLS_D)
25
+ /* Reset active ini section */
26
+ RESET_ACTIVE_INI_HASH();
28
if (IS_SLASH(php_ini_scanned_path[php_ini_scanned_path_len - 1])) {
29
snprintf(ini_file, MAXPATHLEN, "%s%s", php_ini_scanned_path, namelist[i]->d_name);