Revision 3262,
671 bytes
checked in by JcDenis, 10 years ago
(diff) |
switch to DC 2.6, clean up code
|
Line | |
---|
1 | <?php |
---|
2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
3 | # |
---|
4 | # This file is part of dcFilterDuplicate, a plugin for Dotclear 2. |
---|
5 | # |
---|
6 | # Copyright (c) 2009-2013 Jean-Christian Denis and contributors |
---|
7 | # contact@jcdenis.fr http://jcd.lv |
---|
8 | # |
---|
9 | # Licensed under the GPL version 2.0 license. |
---|
10 | # A copy of this license is available in LICENSE file or at |
---|
11 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
12 | # |
---|
13 | # -- END LICENSE BLOCK ------------------------------------ |
---|
14 | |
---|
15 | if (!defined('DC_RC_PATH')) { |
---|
16 | |
---|
17 | return null; |
---|
18 | } |
---|
19 | |
---|
20 | $__autoload['dcFilterDuplicate'] = |
---|
21 | dirname(__FILE__).'/inc/class.filter.duplicate.php'; |
---|
22 | |
---|
23 | $core->spamfilters[] = 'dcFilterDuplicate'; |
---|
Note: See
TracBrowser
for help on using the repository browser.