Changeset 21666 for extensions/whois_online
- Timestamp:
- Mar 18, 2013, 10:34:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/whois_online/main.inc.php
r21587 r21666 33 33 // rel="nofollow" they follow the link. By deactivation this plugin to 34 34 // robots, we avoid wasting resources on servers. 35 if (preg_match('/(Googlebot|bingbot|Baiduspider|yandex|AhrefsBot|msnbot)/', isset($_SERVER["HTTP_USER_AGENT"]))) 35 if (isset($_SERVER["HTTP_USER_AGENT"]) 36 and preg_match('/(Googlebot|bingbot|Baiduspider|yandex|AhrefsBot|msnbot)/', $_SERVER["HTTP_USER_AGENT"])) 36 37 { 37 38 return;
Note: See TracChangeset
for help on using the changeset viewer.