Laravel 9 Update (#1413)
Update to Laravel 9 and PHP 8+ Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
/**
|
||||
* DO NOT EDIT THIS OR ANY OF THE CONFIG FILES DIRECTLY
|
||||
*
|
||||
* Set your override options in the config.php file that's in the root of
|
||||
* your install. Otherwise, any changes here will get overridden in an update!
|
||||
* IF YOU DO, YOU NEED TO RESTORE THOSE CHANGES AFTER AN UPDATE
|
||||
*/
|
||||
|
||||
use Carbon\Carbon;
|
||||
@@ -66,10 +64,8 @@ return [
|
||||
Collective\Html\HtmlServiceProvider::class,
|
||||
Laracasts\Flash\FlashServiceProvider::class,
|
||||
Prettus\Repository\Providers\RepositoryServiceProvider::class,
|
||||
Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider::class,
|
||||
Igaster\LaravelTheme\themeServiceProvider::class,
|
||||
Nwidart\Modules\LaravelModulesServiceProvider::class,
|
||||
Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
@@ -109,7 +105,6 @@ return [
|
||||
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||
'Log' => Illuminate\Support\Facades\Log::class,
|
||||
'Mail' => Illuminate\Support\Facades\Mail::class,
|
||||
'NoCaptcha' => Anhskohbo\NoCaptcha\Facades\NoCaptcha::class,
|
||||
'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||
'Password' => Illuminate\Support\Facades\Password::class,
|
||||
'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||
@@ -122,10 +117,8 @@ return [
|
||||
'Session' => Illuminate\Support\Facades\Session::class,
|
||||
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||
'Theme' => Igaster\LaravelTheme\Facades\Theme::class,
|
||||
'Updater' => Codedge\Updater\UpdaterFacade::class,
|
||||
'URL' => Illuminate\Support\Facades\URL::class,
|
||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
'Version' => PragmaRX\Version\Package\Facade::class,
|
||||
'View' => Illuminate\Support\Facades\View::class,
|
||||
'Yaml' => Symfony\Component\Yaml\Yaml::class,
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* The keys can be created here
|
||||
* https://www.google.com/recaptcha/admin
|
||||
*
|
||||
* Don't edit this file directly, add the section to your config.php
|
||||
*/
|
||||
return [
|
||||
'enabled' => env('CAPTCHA_ENABLED', false),
|
||||
'sitekey' => env('CAPTCHA_SITEKEY', ''),
|
||||
'secret' => env('CAPTCHA_SECRET', ''),
|
||||
|
||||
// Attributes can be found here:
|
||||
// https://developers.google.com/recaptcha/docs/display#render_param
|
||||
'attributes' => [
|
||||
'data-theme' => env('CAPTCHA_DATATHEME', 'light'),
|
||||
],
|
||||
|
||||
'options' => [
|
||||
'timeout' => env('CAPTCHA_TIMEOUT', '2.0'),
|
||||
],
|
||||
];
|
||||
@@ -20,8 +20,7 @@ return [
|
||||
'strict' => false,
|
||||
'engine' => null,
|
||||
'options' => [
|
||||
PDO::ATTR_EMULATE_PREPARES => env('DB_EMULATE_PREPARES', false),
|
||||
//PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
|
||||
PDO::ATTR_EMULATE_PREPARES => get_truth_state(env('DB_EMULATE_PREPARES', false)),
|
||||
],
|
||||
'dump' => [
|
||||
'timeout' => 60 * 5, // 5 minute timeout
|
||||
@@ -29,7 +28,7 @@ return [
|
||||
],
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => storage_path('db.sqlite'),
|
||||
'database' => env('DB_DATABASE', storage_path('db.sqlite')),
|
||||
'timezone' => '+00:00',
|
||||
'prefix' => '',
|
||||
'prefix_indexes' => true,
|
||||
|
||||
@@ -93,12 +93,13 @@ return [
|
||||
* under settings, for the display units
|
||||
*/
|
||||
'internal_units' => [
|
||||
'altitude' => 'feet',
|
||||
'distance' => 'nmi',
|
||||
'fuel' => 'lbs',
|
||||
'mass' => 'lbs',
|
||||
'velocity' => 'knots',
|
||||
'volume' => 'gallons',
|
||||
'altitude' => 'feet',
|
||||
'distance' => 'nmi',
|
||||
'fuel' => 'lbs',
|
||||
'mass' => 'lbs',
|
||||
'temperature' => 'celsius',
|
||||
'velocity' => 'knots',
|
||||
'volume' => 'gallons',
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user