backdrop-ops / backdrop-pantheon

Version of Backdrop CMS that runs on the Pantheon hosting platform.
GNU General Public License v2.0
5 stars 8 forks source link

Set a default temporary and public file paths #34

Closed herbdool closed 2 years ago

herbdool commented 4 years ago

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 commented 4 years ago

I think this should be possible since 1.16.