mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
upgrade for laravel 10
This commit is contained in:
parent
f453606b84
commit
ba6a6bcd3c
@ -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": "*",
|
||||
|
||||
@ -90,9 +90,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware' => [
|
||||
\Fruitcake\Cors\HandleCors::class, # this line
|
||||
],
|
||||
'middleware' => [],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user