diff options
author | ivan <ivan> | 2002-04-17 12:14:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-04-17 12:14:37 +0000 |
commit | 11134a9f846c6101d373809f8a56c2b3986f7582 (patch) | |
tree | 34e22b8d22216668ff37f73757059dd95a33aad1 /fs_signup/FS-SignupClient | |
parent | 9a99da945add49008fb6821ab037c204ad651e51 (diff) |
use signup.html and success.html from current dir...
Diffstat (limited to 'fs_signup/FS-SignupClient')
-rwxr-xr-x | fs_signup/FS-SignupClient/cgi/signup.cgi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs_signup/FS-SignupClient/cgi/signup.cgi b/fs_signup/FS-SignupClient/cgi/signup.cgi index 1819e7c86..a7118ed2b 100755 --- a/fs_signup/FS-SignupClient/cgi/signup.cgi +++ b/fs_signup/FS-SignupClient/cgi/signup.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: signup.cgi,v 1.22 2002-04-17 11:43:37 ivan Exp $ +# $Id: signup.cgi,v 1.23 2002-04-17 12:14:37 ivan Exp $ 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'; -$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) |