Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (19 sloc) 0.437 kb
use File::Spec;
use File::Basename qw(dirname);
my $basedir = File::Spec->rel2abs(File::Spec->catdir(dirname(__FILE__), '..'));
my $dbpath;
if ( -d '/home/dotcloud/') {
$dbpath = "/home/dotcloud/deployment.db";
} else {
$dbpath = File::Spec->catfile($basedir, 'db', 'deployment.db');
}
+{
'DBI' => [
"dbi:SQLite:dbname=$dbpath",
'',
'',
+{
sqlite_unicode => 1,
}
],
};
Jump to Line
Something went wrong with that request. Please try again.