2015-04-22 16:03:40 +00:00
|
|
|
<?php
|
|
|
|
# -- BEGIN LICENSE BLOCK ----------------------------------
|
|
|
|
#
|
|
|
|
# This file is part of dcFilterDuplicate, a plugin for Dotclear 2.
|
|
|
|
#
|
2021-08-27 15:16:25 +00:00
|
|
|
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
|
2015-04-22 16:03:40 +00:00
|
|
|
#
|
|
|
|
# Licensed under the GPL version 2.0 license.
|
|
|
|
# A copy of this license is available in LICENSE file or at
|
|
|
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
#
|
|
|
|
# -- END LICENSE BLOCK ------------------------------------
|
|
|
|
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
2021-08-27 15:16:25 +00:00
|
|
|
return null;
|
2015-04-22 16:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$__autoload['dcFilterDuplicate'] =
|
2021-08-27 15:16:25 +00:00
|
|
|
dirname(__FILE__) . '/inc/class.filter.duplicate.php';
|
2015-04-22 16:03:40 +00:00
|
|
|
|
|
|
|
$core->spamfilters[] = 'dcFilterDuplicate';
|