Home
last modified time | relevance | path

Searched refs:reg_location (Results 1 – 2 of 2) sorted by relevance

/php-src/win32/
H A Dregistry.c284 char *reg_location = NULL; in GetIniPathFromRegistry() local
289 reg_location = emalloc(MAXPATHLEN+1); in GetIniPathFromRegistry()
290 if(RegQueryValueEx(hKey, PHPRC_REGISTRY_NAME, 0, NULL, reg_location, &buflen) != ERROR_SUCCESS) { in GetIniPathFromRegistry()
292 efree(reg_location); in GetIniPathFromRegistry()
293 reg_location = NULL; in GetIniPathFromRegistry()
294 return reg_location; in GetIniPathFromRegistry()
298 return reg_location; in GetIniPathFromRegistry()
/php-src/main/
H A Dphp_ini.c439 char *reg_location; in php_init_config() local
494 reg_location = GetIniPathFromRegistry(); in php_init_config()
495 if (reg_location != NULL) { in php_init_config()
496 append_ini_path(php_ini_search_path, search_path_size, reg_location); in php_init_config()
497 efree(reg_location); in php_init_config()

Completed in 8 milliseconds