zoneclearFeedServer/_prepend.php

36 lines
1.2 KiB
PHP
Raw Normal View History

2015-04-25 19:25:03 +00:00
<?php
/**
* @brief zoneclearFeedServer, a plugin for Dotclear 2
2021-11-06 15:30:19 +00:00
*
* @package Dotclear
* @subpackage Plugin
2021-11-06 15:30:19 +00:00
*
* @author Jean-Christian Denis, BG, Pierre Van Glabeke
2021-11-06 15:30:19 +00:00
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
2015-04-25 19:25:03 +00:00
if (!defined('DC_RC_PATH')) {
return null;
2015-04-25 19:25:03 +00:00
}
2022-11-15 20:05:21 +00:00
Clearbricks::lib()->autoload(['zoneclearFeedServer' => __DIR__ . '/inc/class.zoneclear.feed.server.php']);
Clearbricks::lib()->autoload(['zcfsFeedsList' => __DIR__ . '/inc/lib.zcfs.list.php']);
Clearbricks::lib()->autoload(['zcfsEntriesList' => __DIR__ . '/inc/lib.zcfs.list.php']);
Clearbricks::lib()->autoload(['adminZcfsPostFilter' => __DIR__ . '/inc/lib.zcfs.list.php']);
Clearbricks::lib()->autoload(['zcfsFeedsActionsPage' => __DIR__ . '/inc/class.zcfs.feedsactions.php']);
Clearbricks::lib()->autoload(['zcfsDefaultFeedsActions' => __DIR__ . '/inc/class.zcfs.feedsactions.php']);
2015-04-25 19:25:03 +00:00
// public url for page of description of the flux
2022-11-15 20:05:21 +00:00
dcCore::app()->url->register(
'zoneclearFeedsPage',
'zcfeeds',
'^zcfeeds(.*?)$',
2021-09-12 20:35:57 +00:00
['zcfsUrlHandler', 'zcFeedsPage']
2015-04-25 19:25:03 +00:00
);
// Add to report on plugin activityReport
2022-11-18 20:28:09 +00:00
if (defined('ACTIVITY_REPORT_V2')) {
2022-11-15 20:05:21 +00:00
require_once __DIR__ . '/inc/lib.zcfs.activityreport.php';
2021-11-06 15:30:19 +00:00
}