Files

192 lines
6.4 KiB
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
use Carbon\Carbon;
use Illuminate\Support\Facades\Facade;
use Pterodactyl\Facades\Activity;
use Pterodactyl\Facades\LogBatch;
use Pterodactyl\Facades\LogTarget;
2022-10-14 10:59:20 -06:00
2015-12-06 13:58:49 -05:00
return [
2017-12-17 13:07:38 -06:00
/*
|--------------------------------------------------------------------------
| Application Version
|--------------------------------------------------------------------------
| This value is set when creating a Pterodactyl release. You should not
| change this value if you are not maintaining your own internal versions.
*/
2016-01-11 22:04:11 -05:00
2020-11-01 03:19:28 -05:00
'version' => 'canary',
2016-01-23 21:42:56 -05:00
2017-04-01 17:59:43 -04:00
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
2024-10-21 19:18:20 -06:00
| This value is the name of your application, which will be used when the
2017-04-01 17:59:43 -04:00
| framework needs to place the application's name in a notification or
2024-10-21 19:18:20 -06:00
| other UI elements where an application name needs to be displayed.
|
2017-04-01 17:59:43 -04:00
*/
2017-12-17 13:07:38 -06:00
'name' => env('APP_NAME', 'Pterodactyl'),
2017-04-01 17:59:43 -04:00
2026-11-05 14:23:59 -05:00
/*
|--------------------------------------------------------------------------
| Application Logo
|--------------------------------------------------------------------------
|
| The stored name of the logo uploaded from the admin settings, which the
| panel shows as its favicon and on the login page and navigation bar.
| Empty while the panel uses its default branding.
|
*/
'logo' => '',
2017-12-17 13:07:38 -06:00
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
2024-10-21 19:18:20 -06:00
| services the application utilizes. Set this in your ".env" file.
2017-12-17 13:07:38 -06:00
|
*/
'env' => env('APP_ENV', 'production'),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
2024-10-21 19:18:20 -06:00
'debug' => (bool) env('APP_DEBUG', false),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
2024-10-21 19:18:20 -06:00
| the application so that it's available within Artisan commands.
2015-12-06 13:58:49 -05:00
|
*/
2016-02-25 23:32:17 -05:00
'url' => env('APP_URL', 'http://localhost'),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
2024-10-21 19:18:20 -06:00
| 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.
2015-12-06 13:58:49 -05:00
|
*/
2016-02-25 23:32:17 -05:00
'timezone' => env('APP_TIMEZONE', 'UTC'),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
2024-10-21 19:18:20 -06:00
| by Laravel's translation / localization methods. This option can be
| set to any locale for which you plan to have translation strings.
2015-12-06 13:58:49 -05:00
|
*/
2017-10-29 12:37:25 -05:00
'locale' => env('APP_LOCALE', 'en'),
2015-12-06 13:58:49 -05:00
2024-10-21 19:18:20 -06:00
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
2024-10-21 19:18:20 -06:00
| Encryption Key
2015-12-06 13:58:49 -05:00
|--------------------------------------------------------------------------
|
2024-10-21 19:18:20 -06:00
| 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.
2015-12-06 13:58:49 -05:00
|
*/
2024-10-21 19:18:20 -06:00
'cipher' => 'AES-256-CBC',
'key' => env('APP_KEY'),
'previous_keys' => [
...array_filter(
explode(',', env('APP_PREVIOUS_KEYS', ''))
),
],
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
2024-10-21 19:18:20 -06:00
| Maintenance Mode Driver
2015-12-06 13:58:49 -05:00
|--------------------------------------------------------------------------
|
2024-10-21 19:18:20 -06:00
| These configuration options determine the driver used to determine and
| manage Laravel's "maintenance mode" status. The "cache" driver will
| allow maintenance mode to be controlled across multiple machines.
|
| Supported drivers: "file", "cache"
2015-12-06 13:58:49 -05:00
|
*/
2024-10-21 19:18:20 -06:00
'maintenance' => [
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Exception Reporter Configuration
|--------------------------------------------------------------------------
|
| If you're encountering weird behavior with the Panel and no exceptions
| are being logged try changing the environment variable below to be true.
| This will override the default "don't report" behavior of the Panel and log
| all exceptions. This will be quite noisy.
|
*/
'exceptions' => [
2026-10-11 19:15:22 -04:00
'report_all' => (bool) env('APP_REPORT_ALL_EXCEPTIONS', false),
],
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| 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
2022-10-14 10:59:20 -06:00
| the aliases are "lazy" loaded, so they don't hinder performance.
2015-12-06 13:58:49 -05:00
|
*/
2026-10-05 18:10:18 -04:00
'aliases' => Facade::defaultAliases()->merge([
'Carbon' => Carbon::class,
2022-06-18 12:07:32 -04:00
// Custom Facades
2026-10-05 18:10:18 -04:00
'Activity' => Activity::class,
'LogBatch' => LogBatch::class,
'LogTarget' => LogTarget::class,
2022-10-14 10:59:20 -06:00
])->toArray(),
2015-12-06 13:58:49 -05:00
];