-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
37 lines (32 loc) · 1.18 KB
/
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
33
34
35
36
37
<?php
/**
* ebGallery for Wolf CMS- Simply create multiple galleries from folders
* This plugin is free for non-profit and commercial usage.
*
* @package wolf
* @subpackage plugin.eb_gallery
*
* @author Julius Ehrlich <[email protected]>
* @version 1.0
* @for Wolf version 0.7.0 and above
* @license http://www.gnu.org/licenses/gpl.html GPL License
* @copyright ehrlich-bros, 2012
*/
//security measure
if (!defined('IN_CMS')) { exit(); }
// set plugin information
Plugin::setInfos(array(
'id' => 'eb_gallery',
'title' => 'ebGallery',
'description' => 'Allows you to display multiple galleries on every site you want. Galleries are created from folders, thumbnails will be auto generated.',
'version' => '1.0',
'license' => 'GPL',
'author' => 'Julius Ehrlich',
'website' => 'https://github.com/jlis/ebGallery',
'update_url' => 'https://raw.github.com/jlis/ebGallery/master/version.xml',
'require_wolf_version' => '0.7.0')
);
// add filter "Eb gallery"
Filter::add('eb_gallery', 'eb_gallery/filter.php');
// add controller for backend pages
Plugin::addController('eb_gallery', 'ebGallery', 'administrator,developer');