Revision 3731:3770620079d4,
1.2 KB
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
Simplify licence block at the beginning of each file
|
Rev | Line | |
---|
[0] | 1 | <?php |
---|
[3731] | 2 | /** |
---|
| 3 | * @brief antispam, a plugin for Dotclear 2 |
---|
| 4 | * |
---|
| 5 | * @package Dotclear |
---|
| 6 | * @subpackage Plugins |
---|
| 7 | * |
---|
| 8 | * @copyright Olivier Meunier & Association Dotclear |
---|
| 9 | * @copyright GPL-2.0-only |
---|
| 10 | */ |
---|
| 11 | |
---|
[3730] | 12 | if (!defined('DC_RC_PATH')) {return;} |
---|
[0] | 13 | |
---|
[3730] | 14 | $__autoload['dcSpamFilter'] = dirname(__FILE__) . '/inc/class.dc.spamfilter.php'; |
---|
| 15 | $__autoload['dcSpamFilters'] = dirname(__FILE__) . '/inc/class.dc.spamfilters.php'; |
---|
| 16 | $__autoload['dcAntispam'] = dirname(__FILE__) . '/inc/lib.dc.antispam.php'; |
---|
| 17 | $__autoload['dcAntispamURL'] = dirname(__FILE__) . '/inc/lib.dc.antispam.url.php'; |
---|
[0] | 18 | |
---|
[3730] | 19 | $__autoload['dcFilterIP'] = dirname(__FILE__) . '/filters/class.dc.filter.ip.php'; |
---|
| 20 | $__autoload['dcFilterIpLookup'] = dirname(__FILE__) . '/filters/class.dc.filter.iplookup.php'; |
---|
| 21 | $__autoload['dcFilterLinksLookup'] = dirname(__FILE__) . '/filters/class.dc.filter.linkslookup.php'; |
---|
| 22 | $__autoload['dcFilterWords'] = dirname(__FILE__) . '/filters/class.dc.filter.words.php'; |
---|
[0] | 23 | |
---|
[3730] | 24 | $core->spamfilters = array('dcFilterIP', 'dcFilterIpLookup', 'dcFilterWords', 'dcFilterLinksLookup'); |
---|
[0] | 25 | |
---|
[3730] | 26 | $core->url->register('spamfeed', 'spamfeed', '^spamfeed/(.+)$', array('dcAntispamURL', 'spamFeed')); |
---|
| 27 | $core->url->register('hamfeed', 'hamfeed', '^hamfeed/(.+)$', array('dcAntispamURL', 'hamFeed')); |
---|
Note: See
TracBrowser
for help on using the repository browser.