projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de83d1
)
Der Wert für den Parameter 'port' steht oftmals nicht in Anführungszeichen, weil...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 14:24:58 +0000
(16:24 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 14:24:58 +0000
(16:24 +0200)
lxo-import/import_lib.php
patch
|
blob
|
history
diff --git
a/lxo-import/import_lib.php
b/lxo-import/import_lib.php
index
c54305e
..
9e25c3d
100644
(file)
--- 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];