You've already forked Atomcms-edit
Add (bool) type casts to all boolean env() calls in config/habbo.php
This commit is contained in:
+6
-6
@@ -9,10 +9,10 @@ return [
|
||||
'recaptcha_site_key' => env('GOOGLE_RECAPTCHA_SITE_KEY'),
|
||||
'recaptcha_secret_key' => env('GOOGLE_RECAPTCHA_SECRET_KEY'),
|
||||
'convert_passwords' => env('CONVERT_PASSWORDS'),
|
||||
'force_https' => env('FORCE_HTTPS', false),
|
||||
'force_https' => (bool) env('FORCE_HTTPS', false),
|
||||
'date_format' => env('DATE_FORMAT', 'Y-m-d - h:m:s'),
|
||||
'default_language' => env('APP_LOCALE', 'en'),
|
||||
'debug_mode_enabled' => env('APP_DEBUG', false),
|
||||
'debug_mode_enabled' => (bool) env('APP_DEBUG', false),
|
||||
'site_environment' => env('APP_ENV'),
|
||||
],
|
||||
|
||||
@@ -24,7 +24,7 @@ return [
|
||||
|
||||
'migrations' => [
|
||||
// Only set this to true in the .env file if your CERTAIN that you want to rename coliding table names
|
||||
'rename_tables' => env('RENAME_COLLIDING_TABLES', false),
|
||||
'rename_tables' => (bool) env('RENAME_COLLIDING_TABLES', false),
|
||||
],
|
||||
|
||||
'rcon' => [
|
||||
@@ -35,7 +35,7 @@ return [
|
||||
|
||||
'client' => [
|
||||
'nitro_path' => env('NITRO_CLIENT_PATH', '/client/html5/nitro-client'), // Path where the index.html is
|
||||
'flash_enabled' => env('FLASH_CLIENT_ENABLED', false),
|
||||
'flash_enabled' => (bool) env('FLASH_CLIENT_ENABLED', false),
|
||||
],
|
||||
|
||||
'flash' => [
|
||||
@@ -55,7 +55,7 @@ return [
|
||||
],
|
||||
|
||||
'findretros' => [
|
||||
'enabled' => env('FINDRETROS_ENABLED', false),
|
||||
'enabled' => (bool) env('FINDRETROS_ENABLED', false),
|
||||
'name' => env('FINDRETROS_NAME', 'Example'),
|
||||
'api' => 'https://findretros.com',
|
||||
],
|
||||
@@ -82,6 +82,6 @@ return [
|
||||
'currency' => env('PAYPAL_CURRENCY', 'USD'),
|
||||
'notify_url' => env('PAYPAL_NOTIFY_URL', ''),
|
||||
'locale' => env('PAYPAL_LOCALE', 'en_US'),
|
||||
'validate_ssl' => env('PAYPAL_VALIDATE_SSL', true),
|
||||
'validate_ssl' => (bool) env('PAYPAL_VALIDATE_SSL', true),
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user