Changeset 221


Ignore:
Timestamp:
Oct 29, 2006, 4:59:46 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

More modularisation

Location:
trunk/npemap.org.uk/perllib
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/perllib/NPEMap/Config.pm

    r219 r221  
    77require Exporter;
    88@ISA    = qw(Exporter);
    9 @EXPORT = qw($tt_config);
     9@EXPORT = qw($tt_config $dbname $dbhost $dbuser $dbpass);
    1010
    1111# Read in site config
    12 my $config = 'npemap.conf';
     12my $config = $ENV{'HOME'} . '/.npemap.conf';
    1313do $config or die "Can't read $config!\n";
    1414
Note: See TracChangeset for help on using the changeset viewer.