comparison Ikariam.pm @ 41:5849b6fdc76c

removed my password from scripts.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 17 Oct 2008 01:27:10 +0800
parents 7d1e353520ca
children 96ee35378696
comparison
equal deleted inserted replaced
40:1168ad6e26f7 41:5849b6fdc76c
1 #!/usr/bin/env perl 1 #!/usr/bin/env perl
2 BEGIN {
3 my $HOME = (getpwuid($<))[7] || $ENV{HOME} || $ENV{LOGDIR} || ".";
4 require "$HOME/.eagleeye.pm";
5 }
2 6
3 use Class::DBI::AutoLoader ( 7 use Class::DBI::AutoLoader (
4 dsn => 'dbi:SQLite:dbname=ikariam.sqlite', 8 dsn => 'dbi:SQLite:dbname=ikariam.sqlite',
5 options => { RaiseError => 1 }, 9 options => { RaiseError => 1 },
6 tables => ['cities', 'island', 'user'], 10 tables => ['cities', 'island', 'user'],