mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
* feat: make api token optional for user api routes * config: disable deprecations in production php.ini files dev should probably override this setting, but keeping it as-is for now
36 lines
1 KiB
PHP
36 lines
1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'name' => env('APP_NAME', 'Laravel'),
|
|
'env' => env('APP_ENV', 'production'),
|
|
'debug' => (bool) env('APP_DEBUG', false),
|
|
'url' => env('APP_URL', 'http://localhost'),
|
|
|
|
'timezone' => env('APP_TIMEZONE', 'UTC'),
|
|
'locale' => env('APP_LOCALE', 'en'),
|
|
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
|
|
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
|
|
|
|
'cipher' => 'AES-256-CBC',
|
|
'key' => env('APP_KEY'),
|
|
|
|
'previous_keys' => [
|
|
...array_filter(
|
|
explode(',', env('APP_PREVIOUS_KEYS', '')),
|
|
),
|
|
],
|
|
|
|
'maintenance' => [
|
|
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
|
|
'store' => env('APP_MAINTENANCE_STORE', 'database'),
|
|
],
|
|
|
|
//// AspirePress Configuration
|
|
|
|
'aspirecloud' => [
|
|
'download' => [
|
|
'base' => env('DOWNLOAD_BASE', env('APP_URL') . '/download/'), # must have a trailing slash!
|
|
'cache_seconds' => env('DOWNLOAD_CACHE_SECONDS', 60 * 60 * 24 * 10),
|
|
],
|
|
],
|
|
];
|