Drop 4.next
[buildfarm-server.git] / cgi-bin / envtest.pl
old mode 100644 (file)
new mode 100755 (executable)
index 6158d18..8dbd6d9
@@ -1,8 +1,11 @@
 #!/usr/bin/perl
 
 #!/usr/bin/perl
 
-print "Contect-Type: text/plain\n\n";
+use FindBin qw($RealBin);
+require "$RealBin/../BuildFarmWeb.pl";
 
 
-print "Conf: $ENV{BFConfDir}\n";
+print "Content-Type: text/plain\n\n";
+
+print "Conf: $RealBin/../\n";
 
 print `pwd`;
 
 
 print `pwd`;