Bertrand Kintanar
Bertrand Kintanar
Well I've followed the tutorial here: http://www.mackhankins.com/blog/laravel/recent-flickr-photos-with-flickr-api-and-laravel and it says to put the following in the app/config/app.php file 'aliases' => array( 'Flickering' => 'Flickering\Facades\Flickering' )
So I've tried removing the alias and what I'm getting now is ``` Call to undefined method Illuminate\Support\Facades\Config::get() ``` my code is ``` php class PhotographyController extends BaseController { public...
I pasted it here: http://paste.laravel.com/ZHY
@isecchin does the package you're using provide config file for setting the model? If so, you can extend the default 3rd party model and put the `UsesTenantConnection` trait and use...
@isecchin well.. if the package developer is as responsive as the spatie guys. maybe you can create a PR for the package to make the config? see: https://github.com/spatie/laravel-medialibrary/pull/377
@isecchin, sorry I can't answer that question. But rough guess is that it was a dirty hack. I personally tried to use it before when I was integrating passport, but...
@isecchin I just found the code that refers to this config entry. For Tenant Connection: https://github.com/hyn/multi-tenant/blob/55ec767472aa6ed871b59b96644290dc23d2dcf0/tests/unit-tests/Database/ConnectionTest.php#L96-L107 For System Connection: https://github.com/hyn/multi-tenant/blob/55ec767472aa6ed871b59b96644290dc23d2dcf0/tests/unit-tests/Database/ConnectionTest.php#L112-L120
@isecchin my mistake, github wasn't playing nice.. here's the correct one (I hope): https://github.com/hyn/multi-tenant/blob/caf4d08be913cc9b7883b586f56ab020cb49b8df/src/Providers/Tenants/ConnectionProvider.php#L69-L87
No problem. I missed to mention that file as well. Sorry. Please report what you find out. Happy coding
@Bibendus83 do you have a test repository that I can test this on and probably fix it?