Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/app.php
10278 views
1
<?php
2
3
4
return [
5
/*
6
|--------------------------------------------------------------------------
7
| Application Version
8
|--------------------------------------------------------------------------
9
| This value is set when creating a Pterodactyl release. You should not
10
| change this value if you are not maintaining your own internal versions.
11
*/
12
13
'version' => 'canary',
14
15
/*
16
|--------------------------------------------------------------------------
17
| Application Name
18
|--------------------------------------------------------------------------
19
|
20
| This value is the name of your application, which will be used when the
21
| framework needs to place the application's name in a notification or
22
| other UI elements where an application name needs to be displayed.
23
|
24
*/
25
26
'name' => env('APP_NAME', 'Pterodactyl'),
27
28
/*
29
|--------------------------------------------------------------------------
30
| Application Environment
31
|--------------------------------------------------------------------------
32
|
33
| This value determines the "environment" your application is currently
34
| running in. This may determine how you prefer to configure various
35
| services the application utilizes. Set this in your ".env" file.
36
|
37
*/
38
39
'env' => env('APP_ENV', 'production'),
40
41
/*
42
|--------------------------------------------------------------------------
43
| Application Debug Mode
44
|--------------------------------------------------------------------------
45
|
46
| When your application is in debug mode, detailed error messages with
47
| stack traces will be shown on every error that occurs within your
48
| application. If disabled, a simple generic error page is shown.
49
|
50
*/
51
52
'debug' => (bool) env('APP_DEBUG', false),
53
54
/*
55
|--------------------------------------------------------------------------
56
| Application URL
57
|--------------------------------------------------------------------------
58
|
59
| This URL is used by the console to properly generate URLs when using
60
| the Artisan command line tool. You should set this to the root of
61
| the application so that it's available within Artisan commands.
62
|
63
*/
64
65
'url' => env('APP_URL', 'http://localhost'),
66
67
/*
68
|--------------------------------------------------------------------------
69
| Application Timezone
70
|--------------------------------------------------------------------------
71
|
72
| Here you may specify the default timezone for your application, which
73
| will be used by the PHP date and date-time functions. The timezone
74
| is set to "UTC" by default as it is suitable for most use cases.
75
|
76
*/
77
78
'timezone' => env('APP_TIMEZONE', 'UTC'),
79
80
/*
81
|--------------------------------------------------------------------------
82
| Application Locale Configuration
83
|--------------------------------------------------------------------------
84
|
85
| The application locale determines the default locale that will be used
86
| by Laravel's translation / localization methods. This option can be
87
| set to any locale for which you plan to have translation strings.
88
|
89
*/
90
91
'locale' => env('APP_LOCALE', 'en'),
92
93
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
94
95
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
96
97
/*
98
|--------------------------------------------------------------------------
99
| Encryption Key
100
|--------------------------------------------------------------------------
101
|
102
| This key is utilized by Laravel's encryption services and should be set
103
| to a random, 32 character string to ensure that all encrypted values
104
| are secure. You should do this prior to deploying the application.
105
|
106
*/
107
108
'cipher' => 'AES-256-CBC',
109
110
'key' => env('APP_KEY'),
111
112
'previous_keys' => [
113
...array_filter(
114
explode(',', env('APP_PREVIOUS_KEYS', ''))
115
),
116
],
117
118
/*
119
|--------------------------------------------------------------------------
120
| Maintenance Mode Driver
121
|--------------------------------------------------------------------------
122
|
123
| These configuration options determine the driver used to determine and
124
| manage Laravel's "maintenance mode" status. The "cache" driver will
125
| allow maintenance mode to be controlled across multiple machines.
126
|
127
| Supported drivers: "file", "cache"
128
|
129
*/
130
131
'maintenance' => [
132
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
133
'store' => env('APP_MAINTENANCE_STORE', 'database'),
134
],
135
136
/*
137
|--------------------------------------------------------------------------
138
| Exception Reporter Configuration
139
|--------------------------------------------------------------------------
140
|
141
| If you're encountering weird behavior with the Panel and no exceptions
142
| are being logged try changing the environment variable below to be true.
143
| This will override the default "don't report" behavior of the Panel and log
144
| all exceptions. This will be quite noisy.
145
|
146
*/
147
148
'exceptions' => [
149
'report_all' => env('APP_REPORT_ALL_EXCEPTIONS', false),
150
],
151
152
/*
153
|--------------------------------------------------------------------------
154
| Autoloaded Service Providers
155
|--------------------------------------------------------------------------
156
|
157
| The service providers listed here will be automatically loaded on the
158
| request to your application. Feel free to add your own services to
159
| this array to grant expanded functionality to your applications.
160
|
161
*/
162
163
'providers' => [
164
/*
165
* Laravel Framework Service Providers...
166
*/
167
Illuminate\Auth\AuthServiceProvider::class,
168
Illuminate\Broadcasting\BroadcastServiceProvider::class,
169
Illuminate\Bus\BusServiceProvider::class,
170
Illuminate\Cache\CacheServiceProvider::class,
171
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
172
Illuminate\Cookie\CookieServiceProvider::class,
173
Illuminate\Database\DatabaseServiceProvider::class,
174
Illuminate\Encryption\EncryptionServiceProvider::class,
175
Illuminate\Filesystem\FilesystemServiceProvider::class,
176
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
177
Illuminate\Hashing\HashServiceProvider::class,
178
Illuminate\Mail\MailServiceProvider::class,
179
Illuminate\Notifications\NotificationServiceProvider::class,
180
Illuminate\Pagination\PaginationServiceProvider::class,
181
Illuminate\Pipeline\PipelineServiceProvider::class,
182
Illuminate\Queue\QueueServiceProvider::class,
183
Illuminate\Redis\RedisServiceProvider::class,
184
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
185
Illuminate\Session\SessionServiceProvider::class,
186
Illuminate\Translation\TranslationServiceProvider::class,
187
Illuminate\Validation\ValidationServiceProvider::class,
188
Illuminate\View\ViewServiceProvider::class,
189
190
/*
191
* Application Service Providers...
192
*/
193
Pterodactyl\Providers\ActivityLogServiceProvider::class,
194
Pterodactyl\Providers\AppServiceProvider::class,
195
Pterodactyl\Providers\AuthServiceProvider::class,
196
Pterodactyl\Providers\BackupsServiceProvider::class,
197
Pterodactyl\Providers\BladeServiceProvider::class,
198
Pterodactyl\Providers\EventServiceProvider::class,
199
Pterodactyl\Providers\HashidsServiceProvider::class,
200
Pterodactyl\Providers\RouteServiceProvider::class,
201
Pterodactyl\Providers\RepositoryServiceProvider::class,
202
Pterodactyl\Providers\ViewComposerServiceProvider::class,
203
204
/*
205
* Additional Dependencies
206
*/
207
Prologue\Alerts\AlertsServiceProvider::class,
208
],
209
210
/*
211
|--------------------------------------------------------------------------
212
| Class Aliases
213
|--------------------------------------------------------------------------
214
|
215
| This array of class aliases will be registered when this application
216
| is started. However, feel free to register as many as you wish as
217
| the aliases are "lazy" loaded, so they don't hinder performance.
218
|
219
*/
220
221
'aliases' => Illuminate\Support\Facades\Facade::defaultAliases()->merge([
222
'Alert' => Prologue\Alerts\Facades\Alert::class,
223
'Carbon' => Carbon\Carbon::class,
224
'JavaScript' => Laracasts\Utilities\JavaScript\JavaScriptFacade::class,
225
'Theme' => Pterodactyl\Extensions\Facades\Theme::class,
226
227
// Custom Facades
228
'Activity' => Pterodactyl\Facades\Activity::class,
229
'LogBatch' => Pterodactyl\Facades\LogBatch::class,
230
'LogTarget' => Pterodactyl\Facades\LogTarget::class,
231
])->toArray(),
232
];
233
234