Changeset 4586


Ignore:
Timestamp:
06/03/11 15:09:46 (13 years ago)
Author:
niltonneto
Message:

Ticket #1971 - Corrigido problema na rotina que contabiliza sessões válidas ativas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoAdmin1_2/inc/class.totalsessions.inc.php

    r414 r4586  
    7575                                 
    7676                                $fd = fopen ($path . '/' . $file,'r'); 
    77                                 $session = @fread ($fd, filesize ($path . '/' . $file)); 
     77                                $session = @fread ($fd, 50); 
    7878                                fclose ($fd); 
    7979 
    80                                 if (substr($session,0,14) != 'phpgw_session|') 
     80                                if (strstr($session,'phpgw_session|') === FALSE) 
    8181                                { 
    8282                                        continue; 
Note: See TracChangeset for help on using the changeset viewer.