update(0, session_id(), $user->id, $_REQUEST['option'], $_REQUEST['view'], (int) $_REQUEST['Itemid'], true); // if ($params->get('bf_lock') && self::$stat->isBruteForceAttacker()) // die('BRUTE FORCE ATTACK DETECTED!'); } function &getList( &$params ) { $rows['visits'] = self::$stat->getCount(MFStatistic::COUNT_VISITS); $rows['hits'] = self::$stat->getCount(MFStatistic::COUNT_HITS); $rows['online'] = self::$stat->getCount(MFStatistic::COUNT_ONLINE); $rows['user'] = self::$stat->getCount(MFStatistic::COUNT_ONUSER); // $rows['bruteforce'] = self::$stat->isBruteForceAttacker(); return $rows; } } ?>