-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.php
executable file
·36 lines (24 loc) · 1.03 KB
/
config.inc.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
<?php
$addonname = "rexponsive";
$REX['ADDON']['rxid'][$addonname] = "1249";
$REX['ADDON']['page'][$addonname] = $addonname;
$REX['ADDON']['name'][$addonname] = "REXponsive";
$REX['ADDON']['version'][$addonname] = "0.1";
$REX['ADDON']['perm'][$addonname] = "rexponsive[]"; // permission
// add permissions to user administration
$REX['PERM'][] = $REX['ADDON']['perm'][$addonname];
$REX['ADDON']['author'][$addonname] = "Christian Kolloch";
$REX['ADDON']['supportpage'][$addonname] = 'redaxo.org, rexponsive.de';
if (!isset($REX['REXPONSIVE']['COLUMNS']))
$REX['REXPONSIVE']['COLUMNS'] = 12;
if (!isset($REX['REXPONSIVE']['SELECT-COLUMNS']))
$REX['REXPONSIVE']['SELECT-COLUMNS'] = 0;
# includes
include_once($REX['INCLUDE_PATH'] . '/addons/'.$addonname.'/classes/class.rexponsive.inc.php');
// sub pages
$REX['ADDON'][$addonname]['SUBPAGES'] = array();
$REX['ADDON'][$addonname]['SUBPAGES'][] = array('' , "REXponsive");
if ($REX['REDAXO'] && $REX['USER']) {
$I18N->appendFile($REX['INCLUDE_PATH'] . '/addons/' . $addonname . '/lang/');
}
?>