source: config/filesystems.php@ 53d99ce

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

added fileTypes controller, notifications, excel export, edited views

  • Property mode set to 100644
File size: 2.9 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
16 'default' => env('FILESYSTEM_DRIVER', 'local'),
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' => [
34 'driver' => 'local',
[c6b84df]35 'root' => public_path() . DIRECTORY_SEPARATOR . 'uploads',
[24a616f]36 'permissions' => [
37 'file' => [
38 'public' => 0664,
39 'private' => 0600,
40 ],
41 'dir' => [
42 'public' => 0775,
43 'private' => 0700,
44 ],
45 ],
46 ],
47
48 'image-uploads' => [
49 'driver' => 'local',
[c6b84df]50 'root' => public_path() . DIRECTORY_SEPARATOR .'assets' . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'uploads'
[2fc88ec]51 ],
52
53 'public' => [
54 'driver' => 'local',
55 'root' => storage_path('app/public'),
56 'url' => env('APP_URL').'/storage',
57 'visibility' => 'public',
58 ],
59
[24a616f]60 'uploads' => [
61 'driver' => 'local',
62 'root' => public_path() . '/uploads',
63 ],
64
[2fc88ec]65 's3' => [
66 'driver' => 's3',
67 'key' => env('AWS_ACCESS_KEY_ID'),
68 'secret' => env('AWS_SECRET_ACCESS_KEY'),
69 'region' => env('AWS_DEFAULT_REGION'),
70 'bucket' => env('AWS_BUCKET'),
71 'url' => env('AWS_URL'),
72 'endpoint' => env('AWS_ENDPOINT'),
73 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
74 ],
75
76 ],
77
78 /*
79 |--------------------------------------------------------------------------
80 | Symbolic Links
81 |--------------------------------------------------------------------------
82 |
83 | Here you may configure the symbolic links that will be created when the
84 | `storage:link` Artisan command is executed. The array keys should be
85 | the locations of the links and the values should be their targets.
86 |
87 */
88
89 'links' => [
90 public_path('storage') => storage_path('app/public'),
91 ],
92
93];
Note: See TracBrowser for help on using the repository browser.