hipsterjazzbo / Landlord

A simple, single database multi-tenancy solution for Laravel 5.2+
MIT License
614 stars 138 forks source link

config_path() does not exist in Lumen #40

Closed torkiljohnsen closed 7 years ago

torkiljohnsen commented 7 years ago

See service provider: https://github.com/HipsterJazzbo/Landlord/blob/master/src/LandlordServiceProvider.php

I don't think config_path() is available in Lumen at all.

anchepiece commented 7 years ago

Maybe something like: return app()->basePath() . '/config' . ($path ? '/' . $path : $path); Not sure how other package maintainers do it.

rods commented 7 years ago

I think this project is abandoned. Too long for an answer or a fix. The package description says Lumen but it's not compatible at all.

hipsterjazzbo commented 7 years ago

This package is most certainly not abandoned, I use it in a dozen projects. Apologies for the delay this month, I've been really sick.

Fixed in v2.0.3 (cf3a456e1d6d4e2f201ddc06cf49415270279f06).