cleanURLs/_define.php

34 lines
961 B
PHP
Raw 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
* @copyright GPL-3.0 https://www.gnu.org/licenses/gpl-3.0.html
*/
2023-01-11 20:00:01 +00:00
if (!defined('DC_RC_PATH')) {
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-03-12 09:50:27 +00:00
'1.3.1',
2023-01-11 20:05:12 +00:00
[
2023-03-10 20:20:51 +00:00
'requires' => [['core', '2.25']],
2023-01-11 20:05:12 +00:00
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
2023-03-10 20:20:51 +00:00
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'https://github.com/JcDenis/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
2023-01-11 20:05:12 +00:00
]
2023-01-11 20:16:35 +00:00
);