1
|
<?php
|
2
|
/*
|
3
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
4
|
*
|
5
|
* This program is free software: you can redistribute it and/or modify
|
6
|
* it under the terms of the GNU General Public License as published by
|
7
|
* the Free Software Foundation, either version 3 of the License, or
|
8
|
* (at your option) any later version.
|
9
|
*
|
10
|
* This program is distributed in the hope that it will be useful,
|
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
* GNU General Public License for more details.
|
14
|
*
|
15
|
* You should have received a copy of the GNU General Public License
|
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
*
|
18
|
* index.php
|
19
|
*
|
20
|
* @category Addons
|
21
|
* @package Addons_wrapper
|
22
|
* @copyright Manuela v.d.Decken <manuela@isteam.de>
|
23
|
* @author Manuela v.d.Decken <manuela@isteam.de>
|
24
|
* @license http://www.gnu.org/licenses/gpl.html GPL License
|
25
|
* @version 3.0.1
|
26
|
* @lastmodified $Date: 2017-07-02 17:14:29 +0200 (Sun, 02 Jul 2017) $
|
27
|
* @since File available since 17.12.2015
|
28
|
* @description xyz
|
29
|
*/
|
30
|
/* -------------------------------------------------------- */
|
31
|
// Must include code to stop this file being accessed directly
|
32
|
if (!defined('WB_PATH')) { throw new Exception('Cannot access the addon \"'.basename(__DIR__).'\" directly'); }
|
33
|
/* -------------------------------------------------------- */
|
34
|
|
35
|
// set the name of the addon
|
36
|
$sAddonName = basename(__DIR__);
|
37
|
if (class_exists('Translate')) {
|
38
|
Translate::getInstance ()->enableAddon ('modules\\'.$sAddonName);
|
39
|
}
|
40
|
include(dirname(__DIR__).'/SimpleCommandDispatcher.inc');
|
41
|
|
42
|
// end of file
|
43
|
|