From c461ee8ac1d30075d427b1daaaae2f05595a80db Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 23 Jul 2009 16:24:58 +0200 Subject: [PATCH] =?utf8?q?Der=20Wert=20f=C3=BCr=20den=20Parameter=20'port'?= =?utf8?q?=20steht=20oftmals=20nicht=20in=20Anf=C3=BChrungszeichen,=20weil?= =?utf8?q?=20es=20eine=20Zahl=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lxo-import/import_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.20.1