2022-11-27 22:30:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @brief testMail, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Osku and contributors
|
|
|
|
*
|
2023-01-05 23:48:09 +00:00
|
|
|
* @copyright Jean-Christian Denis
|
2022-11-27 22:30:13 +00:00
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2023-01-05 23:48:09 +00:00
|
|
|
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.
|
|
|
|
|
2022-11-27 22:30:13 +00:00
|
|
|
if (!defined('DC_RC_PATH')) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
$this->registerModule(
|
|
|
|
'Mail test',
|
|
|
|
'Send a simple mail from admin',
|
|
|
|
'Osku and contributors',
|
2023-01-07 14:58:49 +00:00
|
|
|
'0.3.1',
|
2022-11-27 22:30:13 +00:00
|
|
|
[
|
|
|
|
'requires' => [['core', '2.24']],
|
|
|
|
'permissions' => null,
|
|
|
|
'type' => 'plugin',
|
2023-01-05 23:48:09 +00:00
|
|
|
'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',
|
2022-11-27 22:30:13 +00:00
|
|
|
]
|
|
|
|
);
|