projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change conf.pl to not overwrite $addrbook_dsn every time its run
[squirrelmail.git]
/
config
/
conf.pl
diff --git
a/config/conf.pl
b/config/conf.pl
index 3be511ea33203eb7c8d5827aabe8958235e958c2..f940b29b064a988a99d51b717aa5dca653de7731 100755
(executable)
--- a/
config/conf.pl
+++ b/
config/conf.pl
@@
-1953,6
+1953,11
@@
sub save_data {
print CF ");\n";
print CF "\n";
}
print CF ");\n";
print CF "\n";
}
+
+ if (defined $addrbook_dsn) {
+ print CF "global \$addrbook_dsn;\n";
+ print CF "\$addrbook_dsn = $addrbook_dsn;\n\n";
+ }
print CF "/**\n";
print CF " * Make sure there are no characters after the PHP closing\n";
print CF "/**\n";
print CF " * Make sure there are no characters after the PHP closing\n";