1<?php if (!defined('BB2_CORE')) die('I said no cheating!');
2
3// Analyze user agents claiming to be Konqueror
4
5function bb2_konqueror($package)
6{
7	// CafeKelsa is a dev project at Yahoo which indexes job listings for
8	// Yahoo! HotJobs. It identifies as Konqueror so we skip these checks.
9	if (stripos($package['headers_mixed']['User-Agent'], "YahooSeeker/CafeKelsa") === FALSE || match_cidr($package['ip'], "209.73.160.0/19") === FALSE) {
10		if (!array_key_exists('Accept', $package['headers_mixed'])) {
11			return "17566707";
12		}
13	}
14	return false;
15}
16
17?>
18