Home
last modified time | relevance | path

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

/PHP-7.0/win32/
H A Dregistry.c286 char *reg_location = NULL; in GetIniPathFromRegistry() local
291 reg_location = emalloc(MAXPATHLEN+1); in GetIniPathFromRegistry()
292 if(RegQueryValueEx(hKey, PHPRC_REGISTRY_NAME, 0, NULL, reg_location, &buflen) != ERROR_SUCCESS) { in GetIniPathFromRegistry()
294 efree(reg_location); in GetIniPathFromRegistry()
295 reg_location = NULL; in GetIniPathFromRegistry()
296 return reg_location; in GetIniPathFromRegistry()
300 return reg_location; in GetIniPathFromRegistry()
/PHP-7.0/main/
H A Dphp_ini.c413 char *reg_location; in php_init_config() local
471 reg_location = GetIniPathFromRegistry(); in php_init_config()
472 if (reg_location != NULL) { in php_init_config()
476 strlcat(php_ini_search_path, reg_location, search_path_size); in php_init_config()
477 efree(reg_location); in php_init_config()

Completed in 10 milliseconds