Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding file_temp_path to settings #144

Merged
merged 7 commits into from
Jan 21, 2020
2 changes: 1 addition & 1 deletion defaults/install/drupal/settings.build-acquia.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

$settings['file_public_path'] = '${drupal.site.settings.file_public_path}';
$settings['file_private_path'] = "/mnt/gfs/{$_ENV['AH_SITE_GROUP']}.{$_ENV['AH_SITE_ENVIRONMENT']}/files-private";
$config['system.file']['path']['temporary'] = $_ENV['TEMP'];
$settings['file_temp_path'] = $_ENV['TEMP'];

$settings['config_sync_directory'] = '${drupal.site.config_sync_directory}';

Expand Down
3 changes: 3 additions & 0 deletions defaults/install/drupal/settings.build-platformsh.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

$settings['config_sync_directory'] = '${drupal.site.config_sync_directory}';

// Use the temporary directory set up in .platform.app.yaml
$settings['file_temp_path'] = '/tmp';

// Enable/disable config_split configurations.
if (isset($_ENV['PLATFORM_BRANCH'])) {
if ($_ENV['PLATFORM_BRANCH'] == 'master') {
Expand Down
4 changes: 4 additions & 0 deletions defaults/install/drupal/settings.build.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
$settings['file_public_path'] = '${drupal.site.settings.file_public_path}';
$settings['file_private_path'] = '${drupal.site.settings.file_private_path}';

// Use the standard temporary directory on the development environment (update if the
// project's development environment is configured differently).
$settings['file_temp_path'] = '/tmp';

// Enable/disable config_split configurations. To simulate other config split
// environments, change "development" to either "staging" or "production", then run:
// drush cr && drush cim -y
Expand Down