Welcome Guest, Not a member yet? Register   Sign In
How to set sqlite db path through ROOTPATH variable in .env file
#4

You can use relative paths but they are a bit tricky because they are relative to the calling script, which is public/index.php- see https://github.com/codeigniter4projects/...nv.example for example:

../writable/database.db
Reply


Messages In This Thread
RE: How to set sqlite db path through ROOTPATH variable in .env file - by MGatner - 09-12-2021, 05:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB