25 Sep
2011
25 Sep
'11
9:53 a.m.
2011/9/22 Assaf Gordon <gordon@cshl.edu>:
Instead of specifying "username/password" in your yml config file, I've added a new setting called "credentials". This one points to a simple text file that would contain the user name and password. Cool it's a good idea.
So my new config looks like this: ==== plugins: Database: driver: 'mysql' database: 'devdb' credentials: 'database.secret' ===== And the username password are stored in "database.secret": ===== $ cat database.secret username=myuser password=mypassword ====
Ok.
The patch is available here: https://github.com/agordon/Dancer-Plugin-Database/commit/5564d0c729899c45b86... Thanks.
-- \0/ Hobbestigrou site web: erakis.im