mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
not using persistens connections for postgres in setup: if a transaction fails, setup dont even finds the database anymore
This commit is contained in:
parent
58f8d6ff21
commit
7d74f12e84
@ -60,6 +60,10 @@
|
||||
|
||||
$GLOBALS['phpgw_info']['server']['db_type'] = $GLOBALS['phpgw_domain'][$this->ConfigDomain]['db_type'];
|
||||
|
||||
if ($GLOBALS['phpgw_info']['server']['db_type'] == 'pgsql')
|
||||
{
|
||||
$GLOBALS['phpgw_info']['server']['db_persistent'] = False;
|
||||
}
|
||||
$this->db = CreateObject('phpgwapi.db');
|
||||
$this->db->Host = $GLOBALS['phpgw_domain'][$this->ConfigDomain]['db_host'];
|
||||
$this->db->Port = $GLOBALS['phpgw_domain'][$this->ConfigDomain]['db_port'];
|
||||
|
Loading…
Reference in New Issue
Block a user