31 lines
989 B
PHP
31 lines
989 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* @brief The plugin httpPassword definition
|
|
* @ingroup httpPassword
|
|
*
|
|
* @defgroup httpPassword Plugin httpPassword.
|
|
*
|
|
* Manage .htpasswd file to make the blog private.
|
|
*
|
|
* @author Frederic PLE (author)
|
|
* @author Jean-Christian Denis (latest)
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
$this->registerModule(
|
|
'Http password',
|
|
'Manage .htpasswd file to make the blog private',
|
|
'Frederic PLE and contributors',
|
|
'1.5',
|
|
[
|
|
'requires' => [['core', '2.28']],
|
|
'permissions' => 'My',
|
|
'type' => 'plugin',
|
|
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
|
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
|
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
|
|
]
|
|
);
|