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

$__autoload['pingsAPI']           = __DIR__ . '/lib.pings.php';
$__autoload['pingsCoreBehaviour'] = __DIR__ . '/lib.pings.php';

$core->addBehavior('coreFirstPublicationEntries', ['pingsCoreBehaviour', 'doPings']);