Skip to content

Commit

Permalink
Add PUBLIC_FILESYSTEM_DISK
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonspriggs committed Sep 5, 2021
1 parent bae3c9c commit 48374f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heroku/startup.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ function set_db($uri) {
// Set up GD
file_put_contents('./.env', 'IMAGE_LIB=gd' . PHP_EOL, FILE_APPEND);

// Set local FILESYSTEM_DISK
// Set local FILESYSTEM_DISK and PUBLIC_FILESYSTEM_DISK
file_put_contents('./.env', 'FILESYSTEM_DISK=local' . PHP_EOL, FILE_APPEND);
file_put_contents('./.env', 'PUBLIC_FILESYSTEM_DISK=local_public' . PHP_EOL, FILE_APPEND);

// Set APP_CIPHER
file_put_contents('./.env', 'APP_CIPHER=AES-256-CBC' . PHP_EOL, FILE_APPEND);
Expand Down

0 comments on commit 48374f0

Please sign in to comment.