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