Seditio Source
Root |
./othercms/dotclear-2.22/plugins/fairTrackbacks/_prepend.php
<?php
/**
 * @brief fairTrackbacks, an antispam filter plugin for Dotclear 2
 *
 * @package Dotclear
 * @subpackage Plugins
 *
 * @copyright Olivier Meunier & Association Dotclear
 * @copyright GPL-2.0-only
 */
if (!defined('DC_RC_PATH')) {
    return;
}

if (!
defined('DC_FAIRTRACKBACKS_FORCE')) {
   
define('DC_FAIRTRACKBACKS_FORCE', false);
}

if (!
DC_FAIRTRACKBACKS_FORCE) { // @phpstan-ignore-line
   
$__autoload['dcFilterFairTrackbacks'] = __DIR__ . '/class.dc.filter.fairtrackbacks.php';
   
$core->spamfilters[]                  = 'dcFilterFairTrackbacks';
}