Dotclear

source: plugins/attachments/_define.php @ 3874:ab8368569446

Revision 3874:ab8368569446, 554 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

short notation for array (array() → [])

RevLine 
[407]1<?php
[3731]2/**
3 * @brief attachments, a plugin for Dotclear 2
4 *
5 * @package Dotclear
6 * @subpackage Plugins
7 *
8 * @copyright Olivier Meunier & Association Dotclear
9 * @copyright GPL-2.0-only
10 */
11
[3730]12if (!defined('DC_RC_PATH')) {return;}
[407]13
14$this->registerModule(
[3730]15    "attachments",             // Name
16    "Manage post attachments", // Description
17    "Dotclear Team",           // Author
18    '1.1',                     // Version
[3874]19    [
[3730]20        'permissions' => 'usage,contentadmin,pages',
21        'priority'    => 999,
22        'type'        => 'plugin'
[3874]23    ]
[407]24);
Note: See TracBrowser for help on using the repository browser.

Sites map