From b622e1b8b62ea8c5333a875c99e83cd3dfd5bc13 Mon Sep 17 00:00:00 2001 From: simond Date: Tue, 29 Jan 2002 12:41:32 +0000 Subject: [PATCH] Change conf.pl to not overwrite $addrbook_dsn every time its run git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2280 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/conf.pl b/config/conf.pl index 3be511ea..f940b29b 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1953,6 +1953,11 @@ sub save_data { 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"; -- 2.25.1