X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=lxo-import%2Fimport_lib.php;h=9e25c3dc6cede559ca48c320c1025de1ec05eba0;hb=dc3d3e707934cd1f26bdc81b8b436f59156b8cc8;hp=c54305ee41d12ce2f3fbb0cba0d53cbf9383dc4a;hpb=fbe32862f2a6db05722508d7f47a9e0aec91be8b;p=kivitendo-erp.git diff --git a/lxo-import/import_lib.php b/lxo-import/import_lib.php index c54305ee4..9e25c3dc6 100644 --- a/lxo-import/import_lib.php +++ b/lxo-import/import_lib.php @@ -302,7 +302,7 @@ function anmelden() { $dbuser=$hits[1]; preg_match("/'host'[ ]*=> '(.+)'/",$tmp,$hits); $dbhost=($hits[1])?$hits[1]:"localhost"; - preg_match("/'port'[ ]*=> '(.+)'/",$tmp,$hits); + preg_match("/'port'[ ]*=> '?(.+)'?/",$tmp,$hits); $dbport=($hits[1])?$hits[1]:"5432"; preg_match("/[ ]*\\\$self->\{cookie_name\}[ ]*=[ ]*'(.+)'/",$tmp,$hits); $cookiename=$hits[1];