git://git.exim.org
/
buildfarm-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
undo reorganization
[buildfarm-server.git]
/
cgi-bin
/
register-form.pl
diff --git
a/cgi-bin/register-form.pl
b/cgi-bin/register-form.pl
index 3281a1f0f117fc3f6236395c822dda4c64782129..cf4621a6bedaeeca619b13b709c63b9863221276 100755
(executable)
--- a/
cgi-bin/register-form.pl
+++ b/
cgi-bin/register-form.pl
@@
-4,7
+4,7
@@
use strict;
use Template;
use Captcha::reCAPTCHA;
use Template;
use Captcha::reCAPTCHA;
-use vars qw( $captcha_pubkey );
+use vars qw( $
template_dir $
captcha_pubkey );
require "$ENV{BFConfDir}/BuildFarmWeb.pl";
require "$ENV{BFConfDir}/BuildFarmWeb.pl";
@@
-12,8
+12,8
@@
my $c = Captcha::reCAPTCHA->new;
my $captcha = $c->get_html($captcha_pubkey);
my $captcha = $c->get_html($captcha_pubkey);
-
-my $template = new Template(
{INCLUDE_PATH => '/home/community/pgbuildfarm/templates' }
);
+my $template_opts = { INCLUDE_PATH => $template_dir };
+my $template = new Template(
$template_opts
);
print "Content-Type: text/html\n\n";
print "Content-Type: text/html\n\n";