fix service provider again

This commit is contained in:
Nabeel Shahzad
2017-12-05 20:59:47 -06:00
parent 43896b824a
commit 53205ab5dc
2 changed files with 6 additions and 12 deletions

View File

@@ -83,10 +83,9 @@ return [
*/
'scan' => [
'enabled' => true,
'enabled' => false,
'paths' => [
base_path('Modules/*/*'),
//base_path('vendor/*/*'),
base_path('vendor/*/*'),
],
],
/*

View File

@@ -5,23 +5,18 @@ namespace Modules\Vacentral\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Database\Eloquent\Factory;
class AppServiceProvider extends ServiceProvider
class VacentralServiceProvider extends ServiceProvider
{
protected $defer = false;
protected $moduleSvc;
/**
* Boot the application events.
*/
public function boot()
{
$this->moduleSvc = app('App\Services\ModuleService');
$this->registerTranslations();
$this->registerConfig();
//$this->registerTranslations();
$this->registerFactories();
$this->loadMigrationsFrom(__DIR__ . '/../Database/migrations');
//$this->registerFactories();
//$this->loadMigrationsFrom(__DIR__ . '/../Database/migrations');
}
/**