source: trunk/npemap.org.uk/perllib/NPEMap/Config.pm @ 429

Last change on this file since 429 was 429, checked in by Nick Burch, 13 years ago

Support getting the meta information on a series of tiles

File size: 438 bytes
Line 
1package NPEMap::Config;
2
3use vars qw(@ISA @EXPORT $tt_config $rootdir);
4use warnings;
5use strict;
6
7use FindBin;
8
9require Exporter;
10@ISA    = qw(Exporter);
11@EXPORT = qw($tt_config $dbname $dbhost $dbuser $dbpass $staticdir $tiledir);
12
13# Read in site config
14my $config = $FindBin::Bin . '/../npemap.conf';
15do $config or die "Can't read $config!\n";
16
17$tt_config = {
18    INCLUDE_PATH => $rootdir . '/templates',
19    EVAL_PERL    => 0,
20};
21
221;
Note: See TracBrowser for help on using the repository browser.