Changeset 225


Ignore:
Timestamp:
Oct 29, 2006, 5:21:01 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

Find the config file differently.

File:
1 edited

Legend:

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

    r221 r225  
    55use strict;
    66
     7use FindBin;
     8
    79require Exporter;
    810@ISA    = qw(Exporter);
     
    1012
    1113# Read in site config
    12 my $config = $ENV{'HOME'} . '/.npemap.conf';
     14my $config = $FindBin::Bin . '../npemap.conf';
    1315do $config or die "Can't read $config!\n";
    1416
Note: See TracChangeset for help on using the changeset viewer.