bigpresh/Dancer-Plugin-Database

Finding the database (SQLite)

ambs opened this issue · 1 comments

ambs commented

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

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.