/
index.php
32 lines (27 loc) · 884 Bytes
/
index.php
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
31
32
<?php
/**
* Roles Manager plugin for Wolf CMS
*
* Manage Roles and assign/remove permissions.
*
* @author andrewmman <andrewmman@gmail.com>
* @package Plugins
* @subpackage roles_manager
* @version 0.1.4
* @copyright andrewmman, 2011
* @license http://www.gnu.org/licenses/gpl.html GPLv3 license
*/
if (!defined('IN_CMS')) { exit(); }
Plugin::setInfos(array(
'id' => 'roles_manager',
'title' => __('Roles Manager'),
'description' => __('Manage Roles and their permissions.'),
'version' => '0.1.4',
'license' => 'GPL',
'author' => 'andrewmman',
'update_url' => 'http://andrewmman.byethost7.com/wolfplugins.xml',
'website' => 'http://www.wolfcms.org/forum/post9634.html',
'require_wolf_version' => '0.8.0',
'type' => 'backend'
));
Plugin::addController('roles_manager','Roles Manager','admin_edit',true);