Change conf.pl to not overwrite $addrbook_dsn every time its run
authorsimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Jan 2002 12:41:32 +0000 (12:41 +0000)
committersimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Jan 2002 12:41:32 +0000 (12:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2280 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index 3be511e..f940b29 100755 (executable)
@@ -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";