[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [844] trunk/LedgerSMB/User.pm



Revision: 844
          http://svn.sourceforge.net/ledger-smb/?rev=844&view=rev
Author:   einhverfr
Date:     2007-03-02 22:38:34 -0800 (Fri, 02 Mar 2007)

Log Message:
-----------
Making dataset creation safe for remote db servers

Modified Paths:
--------------
    trunk/LedgerSMB/User.pm

Modified: trunk/LedgerSMB/User.pm
===================================================================
--- trunk/LedgerSMB/User.pm	2007-03-03 06:35:12 UTC (rev 843)
+++ trunk/LedgerSMB/User.pm	2007-03-03 06:38:34 UTC (rev 844)
@@ -433,6 +433,8 @@
 	$ENV{PGPASSWORD} = $form->{dbpasswd};
 	$ENV{PGUSER} = $form->{dbuser};
 	$ENV{PGDATABASE} = $form->{db};
+	$ENV{PGHOST} = $form->{dbhost};
+	$ENV{PGPORT} = $form->{pgport};
 	
 	$results = `psql -f $filename 2>&1`;
 	if ($?){


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.