Home
last modified time | relevance | path

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

/PHP-5.4/win32/
H A Dregistry.c283 char *reg_location = NULL; in GetIniPathFromRegistry() local
288 reg_location = emalloc(MAXPATHLEN+1); in GetIniPathFromRegistry()
289 if(RegQueryValueEx(hKey, PHPRC_REGISTRY_NAME, 0, NULL, reg_location, &buflen) != ERROR_SUCCESS) { in GetIniPathFromRegistry()
290 efree(reg_location); in GetIniPathFromRegistry()
291 reg_location = NULL; in GetIniPathFromRegistry()
292 return reg_location; in GetIniPathFromRegistry()
296 return reg_location; in GetIniPathFromRegistry()
/PHP-5.4/main/
H A Dphp_ini.c398 char *reg_location; in php_init_config() local
456 reg_location = GetIniPathFromRegistry(); in php_init_config()
457 if (reg_location != NULL) { in php_init_config()
461 strlcat(php_ini_search_path, reg_location, search_path_size); in php_init_config()
462 efree(reg_location); in php_init_config()

Completed in 17 milliseconds