2
0
forked from Wavyzz/dolibarr

Fix: view user login in session list

This commit is contained in:
Regis Houssin
2009-09-15 16:38:05 +00:00
parent ab93a4ef8c
commit 20fe1da5ec
2 changed files with 6 additions and 1 deletions

View File

@@ -477,7 +477,8 @@ function listOfSessions()
{
$tmp=split('_', $file);
$idsess=$tmp[1];
//print 'file='.$file.' id='.$idsess;
$login = eregi('dol_login\|s:[0-9]+:"([A-Za-z0-9]+)"',$sessValues,$regs);
$arrayofSessions[$idsess]["login"] = $regs[1];
$arrayofSessions[$idsess]["age"] = time()-filectime( $fullpath );
$arrayofSessions[$idsess]["creation"] = filectime( $fullpath );
$arrayofSessions[$idsess]["modification"] = filemtime( $fullpath );