Dancer-Plugin-Database
Dancer-Plugin-Database copied to clipboard
Finding the database (SQLite)
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.