fix service provider again
This commit is contained in:
@@ -83,10 +83,9 @@ return [
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
'scan' => [
|
'scan' => [
|
||||||
'enabled' => true,
|
'enabled' => false,
|
||||||
'paths' => [
|
'paths' => [
|
||||||
base_path('Modules/*/*'),
|
base_path('vendor/*/*'),
|
||||||
//base_path('vendor/*/*'),
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -5,23 +5,18 @@ namespace Modules\Vacentral\Providers;
|
|||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Illuminate\Database\Eloquent\Factory;
|
use Illuminate\Database\Eloquent\Factory;
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class VacentralServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
protected $defer = false;
|
|
||||||
protected $moduleSvc;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Boot the application events.
|
* Boot the application events.
|
||||||
*/
|
*/
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$this->moduleSvc = app('App\Services\ModuleService');
|
|
||||||
|
|
||||||
$this->registerTranslations();
|
|
||||||
$this->registerConfig();
|
$this->registerConfig();
|
||||||
|
//$this->registerTranslations();
|
||||||
|
|
||||||
$this->registerFactories();
|
//$this->registerFactories();
|
||||||
$this->loadMigrationsFrom(__DIR__ . '/../Database/migrations');
|
//$this->loadMigrationsFrom(__DIR__ . '/../Database/migrations');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reference in New Issue
Block a user