[ Index ] |
PHP Cross Reference of phpwcms V1.4.7 _r403 (01.11.10) |
[Summary view] [Print] [Text view]
1 <?php if (!defined('BB2_CORE')) die('I said no cheating!'); 2 3 // Analyze user agents claiming to be Mozilla 4 5 function bb2_mozilla($package) 6 { 7 // First off, workaround for Google Desktop, until they fix it FIXME 8 // Google Desktop fixed it, but apparently some old versions are 9 // still out there. :( 10 // Always check accept header for Mozilla user agents 11 if (strpos($package['headers_mixed']['User-Agent'], "Google Desktop") === FALSE && strpos($package['headers_mixed']['User-Agent'], "PLAYSTATION 3") === FALSE) { 12 if (!array_key_exists('Accept', $package['headers_mixed'])) { 13 return "17566707"; 14 } 15 } 16 return false; 17 } 18 19 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Nov 16 22:51:00 2010 | Cross-referenced by PHPXref 0.7 |