Is your feature request related to a problem? Please describe.
Making an addon that uses a local sqlite db. Statamic will only "find" the db if it's in a hardcoded location, namely 'database' => storage_path().'/database.sqlite',
Describe the solution you'd like
I'd like to be able to set the location, as the local directory is outside the site folder and often wiped.
Describe alternatives you've considered
Made a Service Provider and hacked this in:
Is your feature request related to a problem? Please describe. Making an addon that uses a local sqlite db. Statamic will only "find" the db if it's in a hardcoded location, namely
'database' => storage_path().'/database.sqlite',
Describe the solution you'd like I'd like to be able to set the location, as the
local
directory is outside thesite
folder and often wiped.Describe alternatives you've considered Made a Service Provider and hacked this in:
Would you be willing to sponsor this feature? Nope