diff --git a/config/app.php b/config/app.php index 423eed5..3a28288 100644 --- a/config/app.php +++ b/config/app.php @@ -1,5 +1,8 @@ env('APP_URL', 'http://localhost'), + 'asset_url' => env('ASSET_URL'), + /* |-------------------------------------------------------------------------- | Application Timezone |-------------------------------------------------------------------------- | | Here you may specify the default timezone for your application, which - | will be used by the PHP date and date-time functions. The timezone - | is set to "UTC" by default as it is suitable for most use cases. + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. | */ - 'timezone' => 'UTC', + #Гаврилов + //ПОМЕНЯТЬ НА ПРОДЕ + 'timezone' => 'Europe/Moscow', /* |-------------------------------------------------------------------------- @@ -73,37 +80,54 @@ return [ |-------------------------------------------------------------------------- | | The application locale determines the default locale that will be used - | by Laravel's translation / localization methods. This option can be - | set to any locale for which you plan to have translation strings. + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. | */ - 'locale' => env('APP_LOCALE', 'en'), + 'locale' => 'ru', + 'fallback_locale' => 'en', // Резервный язык (если перевод отсутствует) - 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ - 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), + 'fallback_locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'en_US', /* |-------------------------------------------------------------------------- | Encryption Key |-------------------------------------------------------------------------- | - | This key is utilized by Laravel's encryption services and should be set - | to a random, 32 character string to ensure that all encrypted values - | are secure. You should do this prior to deploying the application. + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! | */ - 'cipher' => 'AES-256-CBC', - 'key' => env('APP_KEY'), - 'previous_keys' => [ - ...array_filter( - explode(',', (string) env('APP_PREVIOUS_KEYS', '')) - ), - ], + 'cipher' => 'AES-256-CBC', /* |-------------------------------------------------------------------------- @@ -119,8 +143,53 @@ return [ */ 'maintenance' => [ - 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'), - 'store' => env('APP_MAINTENANCE_STORE', 'database'), + 'driver' => 'file', + // 'store' => 'redis', ], + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => ServiceProvider::defaultProviders()->merge([ + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... + */ + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + App\Providers\AuthorizationServiceProvider::class, + // App\Providers\BroadcastServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\RouteServiceProvider::class, + ])->toArray(), + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => Facade::defaultAliases()->merge([ + // 'Example' => App\Facades\Example::class, + ])->toArray(), + + 'test_env' => env('TEST_ENV'), + //Время жизни сессии + 'session_life_time' => env('SESSION_LIFETIME'), ];