Dancer-Plugin-Database icon indicating copy to clipboard operation
Dancer-Plugin-Database copied to clipboard

Finding the database (SQLite)

Open ambs opened this issue 11 years ago • 1 comments

If I use "db/foo.db" as my database file, using bin/app.pl finds it, but when using FCGI it doesn't...

ambs avatar Jul 21 '14 14:07 ambs

Hmm - I guess for relative paths, working out the appdir and looking for it there would be sane, rather than relying on the current working directory being the app dir.

Doing this will be slightly more complex now that the core is shared between the D1 & D2 versions of the plugin though.

bigpresh avatar Oct 29 '14 12:10 bigpresh