1
0
Fork 0
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:
Samuel Štancl 2019-08-15 17:29:33 +02:00
commit 836c1717e9

View file

@ -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'))
));