function get_registry_file in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 acsf_init/lib/cloud_hooks/common/pre-web-activate/000-acquia-deployment.php \get_registry_file()
Returns the path to the site registry file.
Parameters
string $site: The sitegroup name.
string $env: The environment name.
Return value
string The site registry path.
1 call to get_registry_file()
- main in acsf_init/
lib/ cloud_hooks/ common/ pre-web-activate/ 000-acquia-deployment.php - The entry point into the script.
File
- acsf_init/
lib/ cloud_hooks/ common/ pre-web-activate/ 000-acquia-deployment.php, line 188 - This script is responsible for deploying theme files on each webnode.
Code
function get_registry_file($site, $env) {
return sprintf('/mnt/files/%s.%s/files-private/sites.json', $site, $env);
}