cvs: php-bugs-web /include functions.inc
| From: | Derick Rethans | Date: | Tue, 12 Apr 2005 08:57:55 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27904@lists.php.net to get a copy of this message | ||
derick Tue Apr 12 04:57:55 2005 EDT
Modified files:
/php-bugs-web/include functions.inc
Log:
- Less spam is good.
http://cvs.php.net/diff.php/php-bugs-web/include/functions.inc?r1=1.147&r2=1.148&ty=u
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.147 php-bugs-web/include/functions.inc:1.148
--- php-bugs-web/include/functions.inc:1.147 Mon Apr 4 21:55:05 2005
+++ php-bugs-web/include/functions.inc Tue Apr 12 04:57:51 2005
@@ -19,6 +19,9 @@
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
+ if (preg_match("/(massage)|(mortage)/i", $string)) {
+ return true;
+ }
return false;
}