Revision 8d51e9b8
Von Holger Lindemann vor mehr als 16 Jahren hinzugefügt
lxo-import/import_lib.php | ||
---|---|---|
363 | 363 |
$db->query($sql2,"authuser_B"); |
364 | 364 |
$sql3="insert into session ";*/ |
365 | 365 |
} |
366 |
$sql="select * from auth.user where id=".$rs[0]["id"]; |
|
367 |
$rs1=$db->getAll($sql,"authuser_1"); |
|
368 |
if (!$rs1) return false; |
|
369 |
$auth=array(); |
|
370 |
$auth["login"]=$rs1[0]["login"]; |
|
366 | 371 |
$sql="select * from auth.user_config where user_id=".$rs[0]["id"]; |
367 | 372 |
$rs1=$db->getAll($sql,"authuser_2"); |
368 |
$auth=array(); |
|
369 |
$keys=array("login","dbname","dbpasswd","dbhost","dbport","dbuser"); |
|
373 |
$keys=array("dbname","dbpasswd","dbhost","dbport","dbuser"); |
|
370 | 374 |
foreach ($rs1 as $row) { |
371 | 375 |
if (in_array($row["cfg_key"],$keys)) { |
372 | 376 |
$auth[$row["cfg_key"]]=$row["cfg_value"]; |
Auch abrufbar als: Unified diff
Fehler bei in authuser