2021-08-23 23:55:52 +00:00
|
|
|
<?php
|
2021-09-02 18:35:25 +00:00
|
|
|
/**
|
|
|
|
* @brief enhancePostContent, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Jean-Christian Denis and Contributors
|
|
|
|
*
|
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2021-08-23 23:55:52 +00:00
|
|
|
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
2021-08-24 20:05:23 +00:00
|
|
|
return null;
|
2021-08-23 23:55:52 +00:00
|
|
|
}
|
|
|
|
|
2021-08-24 20:05:23 +00:00
|
|
|
$d = dirname(__FILE__) . '/inc/';
|
2021-08-23 23:55:52 +00:00
|
|
|
|
2021-10-24 21:38:49 +00:00
|
|
|
$__autoload['libEPC'] = $d . 'lib.epc.php';
|
|
|
|
$__autoload['epcRecords'] = $d . 'lib.epc.records.php';
|
2021-10-30 20:05:31 +00:00
|
|
|
$__autoload['adminEpcList'] = $d . 'lib.epc.pager.php';
|
|
|
|
|
|
|
|
$core->url->register(
|
|
|
|
'epccss',
|
|
|
|
'epc.css',
|
|
|
|
'^epc\.css',
|
|
|
|
['publicEnhancePostContent', 'css']
|
|
|
|
);
|