[Dancer-users] Logs directory

Juan J. Martínez reidrac at usebox.net
Sat Apr 17 11:23:38 UTC 2010


El sáb, 17-04-2010 a las 12:10 +0200, Alexis Sukrieh escribió:
> [...]
> Well, are you using the devel branch? If so you have to load your
> application with "load_app".
> 
> Try to re-scaffold your app with dancer -a

I did it, but it keeps creating two logs directories.

My pl file it's...

#!/usr/bin/perl
use Dancer;
use openIdUseboxNet::DB::DBI;

load_app 'openIdUseboxNet';

openIdUseboxNet::DB::DBI->connection(
    config->{'storage'}->{'dsn'},
    config->{'storage'}->{'username'},
    config->{'storage'}->{'password'});

dance;

Cheers,

Juanjo

-- 
jjm's home: http://www.usebox.net/jjm/
blackshell: http://blackshell.usebox.net/
 ramble on: http://rambleon.usebox.net/




More information about the Dancer-users mailing list