com web/bugs: - Bad bot..., must be banned :): include/functions.php
| From: | Felipe Pena | Date: | Thu, 24 May 2012 11:28:17 +0000 |
| Subject: | com web/bugs: - Bad bot..., must be banned :): include/functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13582@lists.php.net to get a copy of this message | ||
Commit: 38dd09dae05d6a310d47d81584ee9e32ff5f2b82
Author: Felipe Pena <felipensp@gmail.com> Thu, 24 May 2012 08:28:17 -0300
Parents: 613b178a8826e7042404290fbf8a7197f133d3ad
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=38dd09dae05d6a310d47d81584ee9e32ff5f2b82
Log:
- Bad bot..., must be banned :)
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 25ef0a9..d31b522 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -290,6 +290,7 @@ function is_spam($string)
'gadboisphotos',
'oakleysunglasseslol',
'partydressuk',
+ 'leslunettesdesoleil',
);
if (preg_match('/('. implode('|', $keywords) . ')/i', $string)) {