Skip to content

Commit

Permalink
Change the default linked_dirs to be more specific.
Browse files Browse the repository at this point in the history
This means we can ensure necessary folders exist without needing to set ACL paths.
  • Loading branch information
ikari7789 committed Oct 17, 2016
1 parent 8b00982 commit 348bbe6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions lib/capistrano/tasks/laravel.rake
Expand Up @@ -31,12 +31,21 @@ namespace :load do

# Linked directories for a standard Laravel 4 application
set :laravel_4_linked_dirs, [
'app/storage'
'app/storage/public',
'app/storage/cache',
'app/storage/logs',
'app/storage/meta',
'app/storage/sessions',
'app/storage/views'
]

# Linked directories for a standard Laravel 5 application
set :laravel_5_linked_dirs, [
'storage'
'storage/app',
'storage/framework/cache',
'storage/framework/sessions',
'storage/framework/views',
'storage/logs'
]

# Ensure the paths in :file_permissions_paths exist?
Expand Down

0 comments on commit 348bbe6

Please sign in to comment.