Skip to content

Commit

Permalink
fix service provider again
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Dec 6, 2017
1 parent 43896b8 commit 53205ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 2 additions & 3 deletions config/modules.php
Expand Up @@ -83,10 +83,9 @@
*/

'scan' => [
'enabled' => true,
'enabled' => false,
'paths' => [
base_path('Modules/*/*'),
//base_path('vendor/*/*'),
base_path('vendor/*/*'),
],
],
/*
Expand Down
Expand Up @@ -5,23 +5,18 @@
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');
}

/**
Expand Down

0 comments on commit 53205ab

Please sign in to comment.