Database: do not mess with databas for ncrecent_failures view
[buildfarm-server.git] / cgi-bin / envtest.pl
old mode 100644 (file)
new mode 100755 (executable)
index f86621f..8dbd6d9
@@ -1,8 +1,11 @@
 #!/usr/bin/perl
 
+use FindBin qw($RealBin);
+require "$RealBin/../BuildFarmWeb.pl";
+
 print "Content-Type: text/plain\n\n";
 
-print "Conf: $ENV{BFConfDir}\n";
+print "Conf: $RealBin/../\n";
 
 print `pwd`;