36 lines
982 B
PHP
36 lines
982 B
PHP
<?php
|
|
/**
|
|
* @brief pacKman, a plugin for Dotclear 2
|
|
*
|
|
* @package Dotclear
|
|
* @subpackage Plugin
|
|
*
|
|
* @author Jean-Christian Denis
|
|
*
|
|
* @copyright Jean-Christian Denis
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
// can not use namespace as it is included inside a class method,
|
|
// and also can be included in third party plugins class methods.
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
|
return null;
|
|
}
|
|
|
|
$this->registerModule(
|
|
'pacKman',
|
|
'Manage your Dotclear packages',
|
|
'Jean-Christian Denis',
|
|
'2023.01.09-dev',
|
|
[
|
|
'requires' => [['core', '2.24']],
|
|
'permissions' => null,
|
|
'type' => 'plugin',
|
|
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
|
|
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
|
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
|
]
|
|
);
|