]> ruin.nu Git - ndwebbie.git/blobdiff - scripts/stats.pl
Change database structure for planets and alliances + PG 8.4 changes
[ndwebbie.git] / scripts / stats.pl
index f5e11ec539f106f7d463adf5b2a755a7854ef41b..706d7c70ff78a8c3ae4cd00adaf4f4a21238ee51 100755 (executable)
@@ -26,7 +26,10 @@ use DBI;
 use DBD::Pg qw(:pg_types);
 
 use LWP::Simple;
-use lib qw{/var/www/ndawn/lib/};
+
+use FindBin;
+use lib "$FindBin::Bin/../lib";
+
 use ND::DB;
 
 our $dbh = ND::DB::DB();