source: config/filesystems.php@ 495dd28

develop
Last change on this file since 495dd28 was 495dd28, checked in by beratkjufliju <kufliju@…>, 3 years ago

bug fix

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[2fc88ec]1<?php
2
3return [
4
5 /*
6 |--------------------------------------------------------------------------
7 | Default Filesystem Disk
8 |--------------------------------------------------------------------------
9 |
10 | Here you may specify the default filesystem disk that should be used
11 | by the framework. The "local" disk, as well as a variety of cloud
12 | based disks are available to your application. Just store away!
13 |
14 */
15
[495dd28]16 'default' => env('FILESYSTEM_DRIVER', 'public'),
[2fc88ec]17
18 /*
19 |--------------------------------------------------------------------------
20 | Filesystem Disks
21 |--------------------------------------------------------------------------
22 |
23 | Here you may configure as many filesystem "disks" as you wish, and you
24 | may even configure multiple disks of the same driver. Defaults have
25 | been setup for each driver as an example of the required options.
26 |
27 | Supported Drivers: "local", "ftp", "sftp", "s3"
28 |
29 */
30
31 'disks' => [
32
33 'local' => [
[495dd28]34 'driver' => 'public',
[94f05dc]35 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
[24a616f]36 'permissions' => [
37 'file' => [
38 'public' => 0664,
39 'private' => 0600,
40 ],
41 'dir' => [
42 'public' => 0775,
43 'private' => 0700,
44 ],
45 ],
[495dd28]46 'visibility' => 'public'
[24a616f]47 ],
48
49 'image-uploads' => [
50 'driver' => 'local',
[c6b84df]51 'root' => public_path() . DIRECTORY_SEPARATOR .'assets' . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'uploads'
[2fc88ec]52 ],
53
54 'public' => [
55 'driver' => 'local',
[94f05dc]56 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
[2fc88ec]57 'url' => env('APP_URL').'/storage',
58 'visibility' => 'public',
59 ],
60
[24a616f]61 'uploads' => [
[495dd28]62 'driver' => 'public',
[94f05dc]63 'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
[495dd28]64 'visibility' => 'public'
[24a616f]65 ],
66
[2fc88ec]67 's3' => [
68 'driver' => 's3',
69 'key' => env('AWS_ACCESS_KEY_ID'),
70 'secret' => env('AWS_SECRET_ACCESS_KEY'),
71 'region' => env('AWS_DEFAULT_REGION'),
72 'bucket' => env('AWS_BUCKET'),
73 'url' => env('AWS_URL'),
74 'endpoint' => env('AWS_ENDPOINT'),
75 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
76 ],
77
78 ],
79
80 /*
81 |--------------------------------------------------------------------------
82 | Symbolic Links
83 |--------------------------------------------------------------------------
84 |
85 | Here you may configure the symbolic links that will be created when the
86 | `storage:link` Artisan command is executed. The array keys should be
87 | the locations of the links and the values should be their targets.
88 |
89 */
90
91 'links' => [
92 public_path('storage') => storage_path('app/public'),
93 ],
94
95];
Note: See TracBrowser for help on using the repository browser.