mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 17:04:03 +00:00
wip
This commit is contained in:
commit
1001a4ee9d
1 changed files with 5 additions and 0 deletions
|
|
@ -35,8 +35,13 @@ class Install extends Command
|
|||
$this->info('✔️ Created config/tenancy.php');
|
||||
|
||||
file_put_contents(app_path('Http/Kernel.php'), str_replace(
|
||||
<<<<<<< HEAD
|
||||
"protected \$middlewarePriority = [",
|
||||
"protected \$middlewarePriority = [\n \Stancl\Tenancy\Middleware\InitializeTenancy::class,",
|
||||
=======
|
||||
'protected $middlewarePriority = [',
|
||||
"protected \$middlewarePriority = [\n \Stancl\Tenancy\Middleware\InitializeTenancy::class",
|
||||
>>>>>>> 01102f481e2d4ae09c812bd93493866b72b7a1b6
|
||||
file_get_contents(app_path('Http/Kernel.php'))
|
||||
));
|
||||
$this->info('✔️ Set middleware priority');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue