simplyFavicon/_define.php

36 lines
1 KiB
PHP
Raw Normal View History

2021-08-16 20:36:26 +00:00
<?php
2021-09-02 21:01:31 +00:00
/**
* @brief simplyFavicon, a plugin for Dotclear 2
2021-11-06 01:23:40 +00:00
*
2021-09-02 21:01:31 +00:00
* @package Dotclear
* @subpackage Plugin
2021-11-06 01:23:40 +00:00
*
2021-09-02 21:01:31 +00:00
* @author Jean-Christian Denis
2021-11-06 01:23:40 +00:00
*
2021-09-02 21:01:31 +00:00
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
2023-04-23 19:33:37 +00:00
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
2021-08-19 21:33:19 +00:00
return;
2021-08-16 21:44:38 +00:00
}
2021-09-02 21:01:31 +00:00
2021-08-16 20:36:26 +00:00
$this->registerModule(
2021-11-06 01:23:40 +00:00
'Simply favicon',
'Multi-agents favicon',
'Jean-Christian Denis',
2023-04-23 19:36:44 +00:00
'2023.04.23',
2021-09-02 21:01:31 +00:00
[
2023-03-21 20:41:48 +00:00
'requires' => [['core', '2.26']],
2022-11-14 22:02:42 +00:00
'permissions' => dcCore::app()->auth->makePermissions([
2023-04-23 19:33:37 +00:00
dcCore::app()->auth::PERMISSION_ADMIN,
2022-11-14 22:02:42 +00:00
]),
2023-03-06 22:05:51 +00:00
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
'settings' => [
2022-11-14 22:02:42 +00:00
'blog' => '#params.simply_favicon_params',
],
2021-09-02 21:01:31 +00:00
]
2021-11-06 01:23:40 +00:00
);