projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.2.11, ticket#13852
[freeside.git]
/
rt
/
lib
/
RT
/
Installer.pm
diff --git
a/rt/lib/RT/Installer.pm
b/rt/lib/RT/Installer.pm
index
7c3e079
..
ccf4896
100644
(file)
--- a/
rt/lib/RT/Installer.pm
+++ b/
rt/lib/RT/Installer.pm
@@
-131,12
+131,6
@@
my %Meta = (
Hints => 'The password RT should use to connect to the database.',
},
},
Hints => 'The password RT should use to connect to the database.',
},
},
- DatabaseRequireSSL => {
- Widget => '/Widgets/Form/Boolean',
- WidgetArguments => {
- Description => 'Use SSL?', # loc
- },
- },
rtname => {
Widget => '/Widgets/Form/String',
WidgetArguments => {
rtname => {
Widget => '/Widgets/Form/String',
WidgetArguments => {
@@
-288,7
+282,9
@@
sub SaveConfig {
# remove obsolete settings we'll add later
$content =~ s/^\s* Set \s* \( \s* \$$_ .*$//xm;
# remove obsolete settings we'll add later
$content =~ s/^\s* Set \s* \( \s* \$$_ .*$//xm;
- $content .= "Set( \$$_, '$RT::Installer->{InstallConfig}{$_}' );\n";
+ my $value = $RT::Installer->{InstallConfig}{$_};
+ $value =~ s/(['\\])/\\$1/g;
+ $content .= "Set( \$$_, '$value' );\n";
}
$content .= "1;\n";
print $fh $content;
}
$content .= "1;\n";
print $fh $content;