cleanURLs/_define.php

34 lines
1.0 KiB
PHP
Raw Permalink Normal View History

2023-01-11 20:00:01 +00:00
<?php
/**
2023-01-11 20:16:35 +00:00
* @brief cleanURLs, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Pierre Rudloff and contributors
*
* @copyright Jean-Christian Denis
2023-04-23 12:57:00 +00:00
* @copyright GPL-3.0 https://www.gnu.org/licenses/gpl-2.0.html
2023-01-11 20:16:35 +00:00
*/
2023-08-06 17:24:48 +00:00
if (!defined('DC_RC_PATH')) {
2023-01-11 20:00:01 +00:00
return;
}
2023-01-11 20:05:12 +00:00
2023-01-11 20:00:01 +00:00
$this->registerModule(
2023-01-11 20:05:12 +00:00
'Clean URLs',
'Removes diacritics and punctuation from URLs',
'Pierre Rudloff and contributors',
2023-08-06 17:24:48 +00:00
'1.5',
2023-01-11 20:05:12 +00:00
[
2023-08-06 17:24:48 +00:00
'requires' => [['core', '2.27']],
2023-01-11 20:05:12 +00:00
'permissions' => dcCore::app()->auth->makePermissions([
2023-04-23 12:57:00 +00:00
dcCore::app()->auth::PERMISSION_USAGE,
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
2023-01-11 20:05:12 +00:00
]),
2023-03-10 20:20:51 +00:00
'type' => 'plugin',
2023-08-06 17:24:48 +00:00
'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',
2023-01-11 20:05:12 +00:00
]
2023-01-11 20:16:35 +00:00
);