Skip to content

Commit dcb25a4

Browse files
authored
Simplify writable directories in Laravel config
Removed specific writable directories from configuration.
1 parent af98316 commit dcb25a4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

recipe/laravel.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,8 @@
1111
set('writable_dirs', [
1212
'bootstrap/cache',
1313
'storage',
14-
'storage/app',
15-
'storage/app/public',
16-
'storage/app/private',
17-
'storage/framework',
18-
'storage/framework/cache',
19-
'storage/framework/cache/data',
20-
'storage/framework/sessions',
21-
'storage/framework/views',
22-
'storage/logs',
2314
]);
15+
set('writable_recursive', true);
2416
set('log_files', 'storage/logs/*.log');
2517
set('bin/artisan', '{{release_or_current_path}}/artisan');
2618
set('laravel_version', function () {

0 commit comments

Comments
 (0)