2021-08-18 19:42:30 +00:00
|
|
|
<?php
|
2021-09-02 21:44:01 +00:00
|
|
|
/**
|
|
|
|
* @brief translater, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Jean-Christian Denis & contributors
|
|
|
|
*
|
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2021-08-18 19:42:30 +00:00
|
|
|
|
2021-08-18 22:48:47 +00:00
|
|
|
if (!defined('DC_RC_PATH')) {
|
|
|
|
return;
|
|
|
|
}
|
2021-08-18 19:42:30 +00:00
|
|
|
|
2021-09-17 23:35:50 +00:00
|
|
|
$d = dirname(__FILE__) . '/inc/';
|
2021-08-18 19:42:30 +00:00
|
|
|
|
2021-09-24 23:58:59 +00:00
|
|
|
$__autoload['dcTranslater'] = $d . 'class.dc.translater.php';
|
|
|
|
$__autoload['dcTranslaterModule'] = $d . 'class.dc.translater.module.php';
|
|
|
|
$__autoload['dcTranslaterLang'] = $d . 'class.dc.translater.lang.php';
|
|
|
|
$__autoload['translaterRest'] = $d . 'class.translater.rest.php';
|
2021-08-18 19:42:30 +00:00
|
|
|
|
2021-09-24 23:58:59 +00:00
|
|
|
$core->adminurl->register('translater', 'plugin.php', ['p' => 'translater']);
|