Open
Description
To better accommodate the directory structure of acquia, we are missing some folders.
Here is the logic suggested from Acquia. In our case, because this recipe defines the AH_SITE_ENVIRONMENT
env variable, the logic is executed too,
if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
$settings['file_private_path'] = '/mnt/files/' . $_ENV['AH_SITE_GROUP'] . '.' . $_ENV['AH_SITE_ENVIRONMENT'] . '/' . $site_path . '/files-private';
} else {
$settings['file_private_path'] = '{PATH}';
}
The structure available at acquia is defined here,
- https://docs.acquia.com/cloud-platform/manage/files/system-files/
- https://docs.acquia.com/cloud-platform/manage/files/temporary/
The directories from the links above are,
- /mnt/files/[site].[env]/files
- /mnt/files/[site].[env]/sites/[sitedir]/files
- /mnt/files/[site].[env]/files-private
- /mnt/files/[site].[env]/sites/[sitedir]/files-private
- /mnt/tmp/[site].[env]
- /mnt/tmp/[site][env]/php_storage/twig
- /mnt/files/[site].[env]/backups
- /mnt/files/[site].[env]/import
- /var/log/sites/[site].[env]/logs/[infrastructure name]/[logname].log
- /mnt/gfs/[site].[env]/www
- /mnt/tmp/[sitename].[env]