-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_define.php
More file actions
30 lines (28 loc) · 937 Bytes
/
_define.php
File metadata and controls
30 lines (28 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* @brief onConstruction, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugins
*
* @author Nan'Art, inspired from Construction plugin, Osku and contributors
*
* @copyright Nan'Art
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
/* onConstruction/_define.php */
if (!defined('DC_RC_PATH')) {return;}
$this->registerModule(
"onConstruction", // Name
"Put temporary your blog in construction mode", // Description
"Nan'Art, from Construction: Osku and contributors", // Author
'0.1', // Version
[
// 'requires' => [['core', '2.15']],
'permissions' => 'usage,contentadmin', // Permissions
'type' => 'plugin', // Type
'settings' => [ // Settings
'priority' => 2000, // Settings
]
]
);