mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:54:03 +00:00
wip
This commit is contained in:
parent
85b2274d1d
commit
c6169c2be2
4 changed files with 161 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
}
|
||||
|
||||
$this->publishes([
|
||||
__DIR__ . '/config/tenancy.php' => config_path('tenancy.php'),
|
||||
__DIR__ . '/assets/config.php' => config_path('tenancy.php'),
|
||||
], 'config');
|
||||
|
||||
$this->loadRoutesFrom(__DIR__ . '/routes.php');
|
||||
|
|
@ -50,7 +50,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->mergeConfigFrom(__DIR__ . '/config/tenancy.php', 'tenancy');
|
||||
$this->mergeConfigFrom(__DIR__ . '/assets/config.php', 'tenancy');
|
||||
|
||||
$this->app->bind(StorageDriver::class, $this->app['config']['tenancy.storage_driver']);
|
||||
$this->app->bind(ServerConfigManager::class, $this->app['config']['tenancy.server.manager']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue