Changeset 1083 for trunk/wp-content/plugins/google-hilite.php
- Timestamp:
- 04/16/2004 02:45:18 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/google-hilite.php
r1082 r1083 66 66 switch ($engine) { 67 67 case 'google': 68 if (preg_match(' /^http:\/\/w?w?w?\.?google.*/i', $referer)) {68 if (preg_match('|^http://(www)?\.?google.*|i', $referer)) { 69 69 return 1; 70 70 } … … 72 72 73 73 case 'lycos': 74 if (preg_match(' /^http:\/\/search\.lycos.*/i', $referer)) {74 if (preg_match('|^http://search\.lycos.*|i', $referer)) { 75 75 return 1; 76 76 } … … 78 78 79 79 case 'yahoo': 80 if (preg_match(' /^http:\/\/search\.yahoo.*/i', $referer)) {80 if (preg_match('|^http://search\.yahoo.*|i', $referer)) { 81 81 return 1; 82 82 }
Note: See TracChangeset
for help on using the changeset viewer.