]> BookStack Code Mirror - bookstack/blob - config/app.php
Found the source of the issue, not sure how to fix
[bookstack] / config / app.php
1 <?php
2
3 return [
4
5
6     'env' => env('APP_ENV', 'production'),
7
8     /*
9     |--------------------------------------------------------------------------
10     | Application Debug Mode
11     |--------------------------------------------------------------------------
12     |
13     | When your application is in debug mode, detailed error messages with
14     | stack traces will be shown on every error that occurs within your
15     | application. If disabled, a simple generic error page is shown.
16     |
17     */
18
19     'debug' => env('APP_DEBUG', false),
20
21     /*
22     |--------------------------------------------------------------------------
23     | Application URL
24     |--------------------------------------------------------------------------
25     |
26     | This URL is used by the console to properly generate URLs when using
27     | the Artisan command line tool. You should set this to the root of
28     | your application so that it is used when running Artisan tasks.
29     |
30     */
31
32     'url' => env('APP_URL', 'http://localhost'),
33
34     /*
35     |--------------------------------------------------------------------------
36     | Application Timezone
37     |--------------------------------------------------------------------------
38     |
39     | Here you may specify the default timezone for your application, which
40     | will be used by the PHP date and date-time functions. We have gone
41     | ahead and set this to a sensible default for you out of the box.
42     |
43     */
44
45     'timezone' => 'UTC',
46
47     /*
48     |--------------------------------------------------------------------------
49     | Application Locale Configuration
50     |--------------------------------------------------------------------------
51     |
52     | The application locale determines the default locale that will be used
53     | by the translation service provider. You are free to set this value
54     | to any of the locales which will be supported by the application.
55     |
56     */
57
58     'locale' => 'en',
59
60     /*
61     |--------------------------------------------------------------------------
62     | Application Fallback Locale
63     |--------------------------------------------------------------------------
64     |
65     | The fallback locale determines the locale to use when the current one
66     | is not available. You may change the value to correspond to any of
67     | the language folders that are provided through your application.
68     |
69     */
70
71     'fallback_locale' => 'en',
72
73     /*
74     |--------------------------------------------------------------------------
75     | Encryption Key
76     |--------------------------------------------------------------------------
77     |
78     | This key is used by the Illuminate encrypter service and should be set
79     | to a random, 32 character string, otherwise these encrypted strings
80     | will not be safe. Please do this before deploying an application!
81     |
82     */
83
84     'key' => env('APP_KEY', 'AbAZchsay4uBTU33RubBzLKw203yqSqr'),
85
86     'cipher' => 'AES-256-CBC',
87
88     /*
89     |--------------------------------------------------------------------------
90     | Logging Configuration
91     |--------------------------------------------------------------------------
92     |
93     | Here you may configure the log settings for your application. Out of
94     | the box, Laravel uses the Monolog PHP logging library. This gives
95     | you a variety of powerful log handlers / formatters to utilize.
96     |
97     | Available Settings: "single", "daily", "syslog", "errorlog"
98     |
99     */
100
101     'log' => 'single',
102
103     /*
104     |--------------------------------------------------------------------------
105     | Autoloaded Service Providers
106     |--------------------------------------------------------------------------
107     |
108     | The service providers listed here will be automatically loaded on the
109     | request to your application. Feel free to add your own services to
110     | this array to grant expanded functionality to your applications.
111     |
112     */
113
114     'providers' => [
115
116         /*
117          * Laravel Framework Service Providers...
118          */
119         Illuminate\Auth\AuthServiceProvider::class,
120         Illuminate\Broadcasting\BroadcastServiceProvider::class,
121         Illuminate\Bus\BusServiceProvider::class,
122         Illuminate\Cache\CacheServiceProvider::class,
123         Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
124         Illuminate\Cookie\CookieServiceProvider::class,
125         Illuminate\Database\DatabaseServiceProvider::class,
126         Illuminate\Encryption\EncryptionServiceProvider::class,
127         Illuminate\Filesystem\FilesystemServiceProvider::class,
128         Illuminate\Foundation\Providers\FoundationServiceProvider::class,
129         Illuminate\Hashing\HashServiceProvider::class,
130         Illuminate\Mail\MailServiceProvider::class,
131         Illuminate\Pagination\PaginationServiceProvider::class,
132         Illuminate\Pipeline\PipelineServiceProvider::class,
133         Illuminate\Queue\QueueServiceProvider::class,
134         Illuminate\Redis\RedisServiceProvider::class,
135         Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
136         Illuminate\Session\SessionServiceProvider::class,
137         Illuminate\Translation\TranslationServiceProvider::class,
138         Illuminate\Validation\ValidationServiceProvider::class,
139         Illuminate\View\ViewServiceProvider::class,
140         Laravel\Socialite\SocialiteServiceProvider::class,
141
142         /**
143          * Third Party
144          */
145         Intervention\Image\ImageServiceProvider::class,
146         Barryvdh\DomPDF\ServiceProvider::class,
147         Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
148         Barryvdh\Debugbar\ServiceProvider::class,
149
150
151         /*
152          * Application Service Providers...
153          */
154         BookStack\Providers\AuthServiceProvider::class,
155         BookStack\Providers\AppServiceProvider::class,
156         BookStack\Providers\EventServiceProvider::class,
157         BookStack\Providers\RouteServiceProvider::class,
158         BookStack\Providers\CustomFacadeProvider::class,
159
160     ],
161
162     /*
163     |--------------------------------------------------------------------------
164     | Class Aliases
165     |--------------------------------------------------------------------------
166     |
167     | This array of class aliases will be registered when this application
168     | is started. However, feel free to register as many as you wish as
169     | the aliases are "lazy" loaded so they don't hinder performance.
170     |
171     */
172
173     'aliases' => [
174
175         'App'       => Illuminate\Support\Facades\App::class,
176         'Artisan'   => Illuminate\Support\Facades\Artisan::class,
177         'Auth'      => Illuminate\Support\Facades\Auth::class,
178         'Blade'     => Illuminate\Support\Facades\Blade::class,
179         'Bus'       => Illuminate\Support\Facades\Bus::class,
180         'Cache'     => Illuminate\Support\Facades\Cache::class,
181         'Config'    => Illuminate\Support\Facades\Config::class,
182         'Cookie'    => Illuminate\Support\Facades\Cookie::class,
183         'Crypt'     => Illuminate\Support\Facades\Crypt::class,
184         'DB'        => Illuminate\Support\Facades\DB::class,
185         'Eloquent'  => Illuminate\Database\Eloquent\Model::class,
186         'Event'     => Illuminate\Support\Facades\Event::class,
187         'File'      => Illuminate\Support\Facades\File::class,
188         'Hash'      => Illuminate\Support\Facades\Hash::class,
189         'Input'     => Illuminate\Support\Facades\Input::class,
190         'Inspiring' => Illuminate\Foundation\Inspiring::class,
191         'Lang'      => Illuminate\Support\Facades\Lang::class,
192         'Log'       => Illuminate\Support\Facades\Log::class,
193         'Mail'      => Illuminate\Support\Facades\Mail::class,
194         'Password'  => Illuminate\Support\Facades\Password::class,
195         'Queue'     => Illuminate\Support\Facades\Queue::class,
196         'Redirect'  => Illuminate\Support\Facades\Redirect::class,
197         'Redis'     => Illuminate\Support\Facades\Redis::class,
198         'Request'   => Illuminate\Support\Facades\Request::class,
199         'Response'  => Illuminate\Support\Facades\Response::class,
200         'Route'     => Illuminate\Support\Facades\Route::class,
201         'Schema'    => Illuminate\Support\Facades\Schema::class,
202         'Session'   => Illuminate\Support\Facades\Session::class,
203         'Storage'   => Illuminate\Support\Facades\Storage::class,
204         'URL'       => Illuminate\Support\Facades\URL::class,
205         'Validator' => Illuminate\Support\Facades\Validator::class,
206         'View'      => Illuminate\Support\Facades\View::class,
207         'Socialite' => Laravel\Socialite\Facades\Socialite::class,
208
209         /**
210          * Third Party
211          */
212
213         'ImageTool' => Intervention\Image\Facades\Image::class,
214         'PDF' => Barryvdh\DomPDF\Facade::class,
215         'Debugbar'  => Barryvdh\Debugbar\Facade::class,
216
217         /**
218          * Custom
219          */
220
221         'Activity' => BookStack\Services\Facades\Activity::class,
222         'Setting'  => BookStack\Services\Facades\Setting::class,
223         'Views'    => BookStack\Services\Facades\Views::class,
224         'Images'   => \BookStack\Services\Facades\Images::class,
225
226     ],
227
228 ];