bosnadev / repository

Laravel Repositories is a package for Laravel 5 which is used to abstract the database layer. This makes applications much easier to maintain.
https://bosnadev.com
825 stars 235 forks source link

Fix config_path error. #93

Open seekerliu opened 7 years ago

seekerliu commented 7 years ago

Fix config_path to: DIR . '/../../../../config/repositories.php';

seekerliu commented 7 years ago

When enable RepositoryProvider to use console command, it appear an error: [Symfony\Component\Debug\Exception\FatalErrorException] Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening requi red '/Users/seekerliu/Documents/sxmsV2/vendor/bosnadev/repositories/src/Bos nadev/Repositories/Providers/../../../config/repositories.php' (include_pat h='.:')

then I find that , the $config_path in RepositoryProvider lack a '../', so I insert it.

eranshmil commented 7 years ago

https://github.com/bosnadev/repository/pull/79