2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
2018-01-30 03:16:39 +08:00
|
|
|
/**
|
|
|
|
* DO NOT EDIT THIS OR ANY OF THE CONFIG FILES DIRECTLY
|
2022-03-14 23:45:18 +08:00
|
|
|
* IF YOU DO, YOU NEED TO RESTORE THOSE CHANGES AFTER AN UPDATE
|
2018-01-30 03:16:39 +08:00
|
|
|
*/
|
|
|
|
|
2020-10-19 22:10:28 +08:00
|
|
|
use Carbon\Carbon;
|
|
|
|
|
2017-06-09 02:28:26 +08:00
|
|
|
return [
|
2019-12-02 22:57:35 +08:00
|
|
|
'name' => env('APP_NAME', 'phpvms'),
|
|
|
|
'env' => env('APP_ENV', 'dev'),
|
|
|
|
'debug' => env('APP_DEBUG', true),
|
2020-03-03 23:20:13 +08:00
|
|
|
'url' => env('APP_URL', ''),
|
2019-12-02 22:57:35 +08:00
|
|
|
'version' => '7.0.0',
|
2021-04-11 05:19:45 +08:00
|
|
|
'debug_toolbar' => env('DEBUG_TOOLBAR', false),
|
2018-01-30 03:16:39 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
'locale' => env('APP_LOCALE', 'en'),
|
2018-01-30 03:16:39 +08:00
|
|
|
'fallback_locale' => 'en',
|
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
//
|
|
|
|
// Anything below here won't need changing and could break things
|
|
|
|
//
|
2017-06-09 02:28:26 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
// DON'T CHANGE THIS OR ELSE YOUR TIMES WILL BE MESSED UP!
|
2017-12-10 22:47:03 +08:00
|
|
|
'timezone' => 'UTC',
|
2017-12-24 01:58:17 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
// Is the default key cipher. Needs to be changed, otherwise phpVMS will think
|
|
|
|
// that it isn't installed. Doubles as a security feature, so keys are scrambled
|
|
|
|
'key' => env('APP_KEY', 'base64:zdgcDqu9PM8uGWCtMxd74ZqdGJIrnw812oRMmwDF6KY='),
|
2017-06-09 02:28:26 +08:00
|
|
|
'cipher' => 'AES-256-CBC',
|
|
|
|
|
|
|
|
'providers' => [
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Laravel Framework Service Providers...
|
|
|
|
*/
|
|
|
|
Illuminate\Auth\AuthServiceProvider::class,
|
|
|
|
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
|
|
|
Illuminate\Bus\BusServiceProvider::class,
|
|
|
|
Illuminate\Cache\CacheServiceProvider::class,
|
|
|
|
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
|
|
|
Illuminate\Cookie\CookieServiceProvider::class,
|
|
|
|
Illuminate\Database\DatabaseServiceProvider::class,
|
|
|
|
Illuminate\Encryption\EncryptionServiceProvider::class,
|
|
|
|
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
|
|
|
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
|
|
|
Illuminate\Hashing\HashServiceProvider::class,
|
|
|
|
Illuminate\Mail\MailServiceProvider::class,
|
|
|
|
Illuminate\Notifications\NotificationServiceProvider::class,
|
|
|
|
Illuminate\Pagination\PaginationServiceProvider::class,
|
|
|
|
Illuminate\Pipeline\PipelineServiceProvider::class,
|
|
|
|
Illuminate\Queue\QueueServiceProvider::class,
|
|
|
|
Illuminate\Redis\RedisServiceProvider::class,
|
|
|
|
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
|
|
|
Illuminate\Session\SessionServiceProvider::class,
|
|
|
|
Illuminate\Translation\TranslationServiceProvider::class,
|
|
|
|
Illuminate\Validation\ValidationServiceProvider::class,
|
|
|
|
Illuminate\View\ViewServiceProvider::class,
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Package Service Providers...
|
|
|
|
*/
|
|
|
|
Collective\Html\HtmlServiceProvider::class,
|
|
|
|
Laracasts\Flash\FlashServiceProvider::class,
|
|
|
|
Prettus\Repository\Providers\RepositoryServiceProvider::class,
|
2018-03-12 07:00:42 +08:00
|
|
|
Igaster\LaravelTheme\themeServiceProvider::class,
|
|
|
|
Nwidart\Modules\LaravelModulesServiceProvider::class,
|
2017-06-11 09:10:31 +08:00
|
|
|
|
2017-06-09 02:28:26 +08:00
|
|
|
/*
|
|
|
|
* Application Service Providers...
|
|
|
|
*/
|
|
|
|
App\Providers\AppServiceProvider::class,
|
|
|
|
App\Providers\AuthServiceProvider::class,
|
2020-02-12 01:32:41 +08:00
|
|
|
App\Providers\BindServiceProviders::class,
|
|
|
|
App\Providers\BroadcastServiceProvider::class,
|
2020-03-29 01:03:52 +08:00
|
|
|
App\Providers\ViewComposerServiceProvider::class,
|
2020-02-12 01:32:41 +08:00
|
|
|
App\Providers\CronServiceProvider::class,
|
|
|
|
App\Providers\DirectiveServiceProvider::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
App\Providers\EventServiceProvider::class,
|
2019-07-16 03:14:40 +08:00
|
|
|
App\Providers\MeasurementsProvider::class,
|
2020-03-02 04:51:00 +08:00
|
|
|
App\Providers\ObserverServiceProviders::class,
|
2020-02-12 01:32:41 +08:00
|
|
|
App\Providers\RouteServiceProvider::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
'aliases' => [
|
2018-08-27 00:40:04 +08:00
|
|
|
'App' => Illuminate\Support\Facades\App::class,
|
|
|
|
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
|
|
|
'Auth' => Illuminate\Support\Facades\Auth::class,
|
|
|
|
'Blade' => Illuminate\Support\Facades\Blade::class,
|
|
|
|
'Cache' => Illuminate\Support\Facades\Cache::class,
|
2020-10-19 22:10:28 +08:00
|
|
|
'Carbon' => Carbon::class,
|
2018-08-27 00:40:04 +08:00
|
|
|
'Config' => Illuminate\Support\Facades\Config::class,
|
|
|
|
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
|
|
|
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
|
|
|
'DB' => Illuminate\Support\Facades\DB::class,
|
|
|
|
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
|
|
|
'Event' => Illuminate\Support\Facades\Event::class,
|
|
|
|
'File' => Illuminate\Support\Facades\File::class,
|
|
|
|
'Flash' => Laracasts\Flash\Flash::class,
|
|
|
|
'Form' => Collective\Html\FormFacade::class,
|
|
|
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
|
|
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
|
|
|
'Html' => Collective\Html\HtmlFacade::class,
|
|
|
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
|
|
|
'Log' => Illuminate\Support\Facades\Log::class,
|
|
|
|
'Mail' => Illuminate\Support\Facades\Mail::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
'Notification' => Illuminate\Support\Facades\Notification::class,
|
2018-08-27 00:40:04 +08:00
|
|
|
'Password' => Illuminate\Support\Facades\Password::class,
|
|
|
|
'Queue' => Illuminate\Support\Facades\Queue::class,
|
|
|
|
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
|
|
|
'Redis' => Illuminate\Support\Facades\Redis::class,
|
|
|
|
'Request' => Illuminate\Support\Facades\Request::class,
|
|
|
|
'Response' => Illuminate\Support\Facades\Response::class,
|
|
|
|
'Route' => Illuminate\Support\Facades\Route::class,
|
|
|
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
|
|
|
'Session' => Illuminate\Support\Facades\Session::class,
|
|
|
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
|
|
|
'Theme' => Igaster\LaravelTheme\Facades\Theme::class,
|
|
|
|
'URL' => Illuminate\Support\Facades\URL::class,
|
|
|
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
|
|
|
'View' => Illuminate\Support\Facades\View::class,
|
|
|
|
'Yaml' => Symfony\Component\Yaml\Yaml::class,
|
2017-12-20 10:19:36 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
// ENUMS
|
2018-02-27 05:16:12 +08:00
|
|
|
'ActiveState' => App\Models\Enums\ActiveState::class,
|
2018-08-27 00:40:04 +08:00
|
|
|
'UserState' => App\Models\Enums\UserState::class,
|
2017-12-21 03:27:57 +08:00
|
|
|
'PirepSource' => App\Models\Enums\PirepSource::class,
|
2018-08-27 00:40:04 +08:00
|
|
|
'PirepState' => App\Models\Enums\PirepState::class,
|
2017-12-20 10:19:36 +08:00
|
|
|
'PirepStatus' => App\Models\Enums\PirepStatus::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
],
|
|
|
|
];
|