Ignore:
Timestamp:
09/03/09 13:55:48 (15 years ago)
Author:
rafaelraymundo
Message:

Ticket #618 - Revertida alteracao da revisao 1354. Sera revisto no Expresso2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.sessions.inc.php

    r1354 r1387  
    680680                { 
    681681                        /*jakjr: Disable this protection. When block an proxy server ip, all the sub-network will be blocking.*/ 
    682                         //return false; 
     682                        return false; 
    683683 
    684684                        $blocked = False; 
    685685                        $block_time = time() - $GLOBALS['phpgw_info']['server']['block_time'] * 60; 
    686                         /* 
     686                         
    687687                        $ip = $this->db->db_addslashes($ip); 
    688688                        $this->db->query("SELECT count(*) FROM phpgw_access_log WHERE account_id=0 AND ip='$ip' AND li > $block_time",__LINE__,__FILE__); 
     
    693693                                $blocked = True; 
    694694                        } 
    695                         */ 
     695                         
    696696                        $login = $this->db->db_addslashes($login); 
    697697                        $this->db->query("SELECT count(*) FROM phpgw_access_log WHERE account_id=0 AND (loginid='$login' OR loginid LIKE '$login@%') AND li > $block_time",__LINE__,__FILE__); 
Note: See TracChangeset for help on using the changeset viewer.