projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- config option for signup server payment types
[freeside.git]
/
FS
/
FS
/
Conf.pm
diff --git
a/FS/FS/Conf.pm
b/FS/FS/Conf.pm
index
74e28d8
..
b39c821
100644
(file)
--- a/
FS/FS/Conf.pm
+++ b/
FS/FS/Conf.pm
@@
-134,7
+134,7
@@
sub set {
my $dir = $self->dir;
$value =~ /^(.*)$/s;
$value = $1;
my $dir = $self->dir;
$value =~ /^(.*)$/s;
$value = $1;
- unless (
$self->config($file
) eq $value ) {
+ unless (
join("\n", @{[ $self->config($file) ]}
) eq $value ) {
warn "[FS::Conf] SET $file\n" if $DEBUG;
# warn "$dir" if is_tainted($dir);
# warn "$dir" if is_tainted($file);
warn "[FS::Conf] SET $file\n" if $DEBUG;
# warn "$dir" if is_tainted($dir);
# warn "$dir" if is_tainted($file);
@@
-865,6
+865,15
@@
httemplate/docs/config.html
'select_enum' => [ qw(en_US) ],
},
'select_enum' => [ qw(en_US) ],
},
+ {
+ 'key' => 'signup_server-payby',
+ 'section' => '',
+ 'description' => 'Acceptable payment types for the signup server',
+ 'type' => 'selectmultiple',
+ 'select_enum' => [ qw(CARD PREPAY BILL COMP) ],
+ },
+
+
);
1;
);
1;