Revision 565340a0
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
lxo-import/import_lib.php | ||
---|---|---|
351 | 351 |
$db=new myDB($dbhost,$dbuser,$dbpasswd,$dbname,$dbport,true); |
352 | 352 |
if ($cookie) { |
353 | 353 |
$sql="select sc.session_id,u.id from auth.session_content sc left join auth.user u on "; |
354 |
$sql.="u.login=sc.sess_value left join auth.session s on s.id=sc.session_id ";
|
|
354 |
$sql.="('--- ' || u.login || E'\\n')=sc.sess_value left join auth.session s on s.id=sc.session_id ";
|
|
355 | 355 |
$sql.="where session_id = '$cookie' and sc.sess_key='login'";// order by s.mtime desc"; |
356 | 356 |
$rs=$db->getAll($sql,"authuser_1"); |
357 | 357 |
if (!$rs) return false; |
Auch abrufbar als: Unified diff
CSV-Import gefixt: auth.session_content enthält YAML-dedumpte Werte
Conflicts: