X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/9aab6bac9c2c174a5ef8869e9b947a3917e18087..79d83e51b67fba4ffe03689576c4d2a28cd3917a:/cgi-bin/typedefs.pl diff --git a/cgi-bin/typedefs.pl b/cgi-bin/typedefs.pl index 63c0fc5..b70a92e 100755 --- a/cgi-bin/typedefs.pl +++ b/cgi-bin/typedefs.pl @@ -16,7 +16,8 @@ my $query = new CGI; use vars qw($dbhost $dbname $dbuser $dbpass $dbport); -require "$ENV{BFConfDir}/BuildFarmWeb.pl"; +use FindBin qw($RealBin); +require "$RealBin/../BuildFarmWeb.pl"; my $dsn="dbi:Pg:dbname=$dbname"; $dsn .= ";host=$dbhost" if $dbhost;