-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathboot.php
37 lines (32 loc) · 1.17 KB
/
boot.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
/**
* Addon MyEvents
* @author kgde@wendenburg.de
* @package redaxo 5
* @version $Id: boot.php, v 2.1.0
*/
$this->setProperty('table_dates', rex::getTablePrefix() . $this->getProperty('package') . "_dates");
$this->setProperty('table_content', rex::getTablePrefix() . $this->getProperty('package') . "_content");
$this->setProperty('month_names', array(
$this->i18n('jan'),
$this->i18n('feb'),
$this->i18n('mar'),
$this->i18n('apr'),
$this->i18n('may'),
$this->i18n('jun'),
$this->i18n('jul'),
$this->i18n('aug'),
$this->i18n('sep'),
$this->i18n('oct'),
$this->i18n('nov'),
$this->i18n('dec')
));
if (rex::isBackend() && rex::getUser()) {
rex_view::addCssFile($this->getAssetsUrl('myevents.css'));
rex_view::addJsFile($this->getAssetsUrl('myevents.js'));
}
# calling system within local environments may not find the environment mysql files
# using MAMP on max OSX
# $this->setProperty('mysqldump', '/Applications/MAMP/Library/bin/mysqldump');
# default
$this->setProperty('mysqldump', 'mysqldump');