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

Set a default temporary and public file paths #34

Closed
herbdool opened this issue Jan 16, 2020 · 1 comment · May be fixed by #54
Closed

Set a default temporary and public file paths #34

herbdool opened this issue Jan 16, 2020 · 1 comment · May be fixed by #54

Comments

@herbdool
Copy link
Contributor

herbdool commented Jan 16, 2020

From https://pantheon.io/docs/tmp#default-temporary-path, we should add something like this to settings.php:

/**
 * Define appropriate location for tmp directory
 */
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
  $conf['file_temporary_path'] = $_SERVER['HOME'] .'/tmp';
}

And should do the same for public files and show how to to do it for private file directory.

@jenlampton
Copy link
Member

I think this should be possible since 1.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants