upgrade for laravel 10

This commit is contained in:
spektra2147 2023-11-13 17:43:23 +03:00
parent f453606b84
commit ba6a6bcd3c
3 changed files with 3 additions and 6 deletions

View File

@ -94,7 +94,7 @@
"visiosoft/defaultadmin-theme": "^1.0",
"visiosoft/cats-module": "^1.0",
"visiosoft/base-theme": "^1.0",
"visiosoft/advs-module": "^1.0",
"visiosoft/advs-module": "v1.10.x-dev",
"visiosoft/json-field_type": "^1.0",
"visiosoft/language_switcher-plugin": "^1.0",
"visiosoft/global_helper-extension": "*",

View File

@ -90,9 +90,7 @@ return [
|
*/
'middleware' => [
\Fruitcake\Cors\HandleCors::class, # this line
],
'middleware' => [],
/*
|--------------------------------------------------------------------------

View File

@ -16,7 +16,6 @@ use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Input\ArgvInput;
use Visiosoft\AdvsModule\Adv\Command\DeleteInstaller;
use WidgetSeeder;
use ZipArchive;
class DatabaseSeeder extends Seeder
{
@ -95,7 +94,7 @@ class DatabaseSeeder extends Seeder
$this->call(WidgetSeeder::class);
//Delete Installer
dispatch_now(new DeleteInstaller());
dispatch_sync(new DeleteInstaller());
if (is_null($this->folders->findBy('slug', 'ads_excel'))) {
$disk = $this->disks->findBySlug('local');