-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php
executable file
·33 lines (29 loc) · 1.15 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
<?php
$mypage = 'gp_analyzer';
$REX ['ADDON'] ['page'] [$mypage] = $mypage;
$REX ['ADDON'] ['name'] [$mypage] = 'gpAnalyzer';
$REX ['ADDON'] ['perm'] [$mypage] = 'gp_analyzer[]';
$REX ['PERM'] [] = 'analyzer[]';
$REX ['ADDON'] ['version'] [$mypage] = '1.0';
$REX ['ADDON'] ['author'] [$mypage] = 'Gunter Pietzsch';
$REX ['ADDON'] ['navigation'] [$mypage] = array (
'block' => 'gp_analyzer'
);
// ---------- Backend, Perms, Subpages etc.
if ($REX ["REDAXO"] && $REX ['USER']) {
$I18N->appendFile ( dirname ( __FILE__ ) . '/lang/' );
$REX ['EXTRAPERM'] [] = "analyzer[]";
$REX ['ADDON'] [$mypage] ['SUBPAGES'] = array ();
$REX ['ADDON'] [$mypage] ['SUBPAGES'] [] = array (
'analyze',
$I18N->msg ( "analyzer_overview" )
);
$REX ['ADDON'] [$mypage] ['SUBPAGES'] [] = array (
'export',
$I18N->msg ( "analyzer_export" )
);
}
require_once ($REX ['INCLUDE_PATH'] . '/addons/' . $mypage . '/classes/class.rex_gpanalyze.inc.php');
require_once ($REX ['INCLUDE_PATH'] . '/addons/' . $mypage . '/classes/class.rex_gpexport.inc.php');
require_once ($REX ['INCLUDE_PATH'] . '/addons/' . $mypage . '/functions/functions.rex_gpanalyzer.inc.php');
?>