dc2-photoblog/_define.php

36 lines
966 B
PHP

<?php
/**
* @brief Photoblog2, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugins
*
* @author julien mudry and contributors
*
* @copyright julien mudry
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return;
}
$this->registerModule(
'Photoblog2',
'Photoblog for Dotclear 2',
'julien mudry',
'0.3',
[
'requires' => [['core', '2.24']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
'type' => 'plugin',
'settings' => ['self' => ''],
'priority' => 9000,
'details' => 'https://mudry.org/blog/alias/dc2photoblog',
'support' => 'https://codeberg.org/julmud/dc2-photoblog/issues',
'repository' => 'https://codeberg.org/julmud/dc2-photoblog/raw/branch/main/dcstore.xml',
]
);