1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 17:04:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-15 16:58:46 +02:00
commit 1001a4ee9d

View file

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