mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 17:04:03 +00:00
Merge branch 'install-command' of github.com:stancl/tenancy into install-command
This commit is contained in:
commit
836c1717e9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Install extends Command
|
|||
$this->info('✔️ Created config/tenancy.php');
|
||||
|
||||
file_put_contents(app_path('Http/Kernel.php'), str_replace(
|
||||
"protected \$middlewarePriority = [",
|
||||
'protected $middlewarePriority = [',
|
||||
"protected \$middlewarePriority = [\n \Stancl\Tenancy\Middleware\InitializeTenancy::class,",
|
||||
file_get_contents(app_path('Http/Kernel.php'))
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue