projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9a99da9
)
use signup.html and success.html from current dir...
author
ivan
<ivan>
Wed, 17 Apr 2002 12:14:37 +0000
(12:14 +0000)
committer
ivan
<ivan>
Wed, 17 Apr 2002 12:14:37 +0000
(12:14 +0000)
fs_signup/FS-SignupClient/cgi/signup.cgi
patch
|
blob
|
history
diff --git
a/fs_signup/FS-SignupClient/cgi/signup.cgi
b/fs_signup/FS-SignupClient/cgi/signup.cgi
index
1819e7c
..
a7118ed
100755
(executable)
--- a/
fs_signup/FS-SignupClient/cgi/signup.cgi
+++ b/
fs_signup/FS-SignupClient/cgi/signup.cgi
@@
-1,6
+1,6
@@
#!/usr/bin/perl -Tw
#
#!/usr/bin/perl -Tw
#
-# $Id: signup.cgi,v 1.2
2 2002-04-17 11:43
:37 ivan Exp $
+# $Id: signup.cgi,v 1.2
3 2002-04-17 12:14
:37 ivan Exp $
use strict;
use vars qw( @payby $cgi $locales $packages $pops $init_data $error
use strict;
use vars qw( @payby $cgi $locales $packages $pops $init_data $error
@@
-31,8
+31,12
@@
use FS::SignupClient 0.03 qw( signup_info new_customer );
$ieak_file = '/usr/local/freeside/ieak.template';
$cck_file = '/usr/local/freeside/cck.template';
$ieak_file = '/usr/local/freeside/ieak.template';
$cck_file = '/usr/local/freeside/cck.template';
-$signup_html = '/usr/local/freeside/signup.html';
-$success_html = '/usr/local/freeside/success.html';
+$signup_html = -e 'signup.html'
+ ? 'signup.html'
+ : '/usr/local/freeside/signup.html';
+$success_html = -e 'success.html'
+ ? 'success.html'
+ : '/usr/local/freeside/success.html';
if ( -e $ieak_file ) {
my $ieak_txt = Text::Template::_load_text($ieak_file)
if ( -e $ieak_file ) {
my $ieak_txt = Text::Template::_load_text($ieak_file)