How to set sqlite db path through ROOTPATH variable in .env file |
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 |
Messages In This Thread |
How to set sqlite db path through ROOTPATH variable in .env file - by dgvirtual - 09-07-2021, 01:07 PM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by paulbalandan - 09-08-2021, 12:25 AM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by dgvirtual - 09-08-2021, 12:37 AM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by MGatner - 09-12-2021, 05:24 AM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by FlavioSuar - 09-13-2021, 03:50 AM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by kilishan - 09-13-2021, 10:53 AM
RE: How to set sqlite db path through ROOTPATH variable in .env file - by FlavioSuar - 09-14-2021, 04:23 AM
|