-
Notifications
You must be signed in to change notification settings - Fork 6
/
ext_localconf.php
135 lines (120 loc) · 6.46 KB
/
ext_localconf.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?php
if (!defined('TYPO3')) {
exit('Access denied.');
}
if (TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('mksanitizedparameters')) {
require_once TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('mkforms').'ext_rules.php';
}
// Predefine cache
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['mkforms'] ?? null)
&& Sys25\RnBase\Configuration\Processor::getExtensionCfgValue('mkforms', 'activateCache')
) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['mkforms'] = [
'frontend' => 'TYPO3\CMS\Core\Cache\Frontend\VariableFrontend',
'backend' => 'TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend',
'options' => [],
];
}
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['datasources'] = [
'DB' => ['key' => 'tx_mkforms_ds_db_Main'],
'PHPARRAY' => ['key' => 'tx_mkforms_ds_phparray_Main'],
'PHP' => ['key' => 'tx_mkforms_ds_php_Main'],
'CONTENTREPOSITORY' => ['key' => 'tx_mkforms_ds_contentrepository_Main'],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['actionlets'] = [
'REDIRECT' => ['key' => 'tx_mkforms_action_redirect_Main'],
'USEROBJ' => ['key' => 'tx_mkforms_action_userobj_Main'],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['datahandlers'] = [
'DB' => ['key' => 'tx_mkforms_dh_db_Main'],
'DBMM' => ['key' => 'tx_mkforms_dh_dbmm_Main'],
'RAW' => ['key' => 'tx_mkforms_dh_raw_Main'],
'STANDARD' => ['key' => 'tx_mkforms_dh_std_Main'],
'MAIL' => ['key' => 'tx_mkforms_dh_mail_Main'],
'VOID' => ['key' => 'tx_mkforms_dh_void_Main'],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['renderers'] = [
'STANDARD' => ['key' => 'tx_mkforms_renderer_std_Main', 'base' => true],
'BACKEND' => ['key' => 'tx_mkforms_renderer_be_Main', 'base' => true],
'TEMPLATE' => ['key' => 'tx_mkforms_renderer_template_Main', 'base' => true],
'VOID' => ['key' => 'tx_mkforms_renderer_void_Main', 'base' => true],
'FLUID' => ['key' => 'tx_mkforms_renderer_fluid_Main', 'base' => true],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['renderlets'] = [
'CHECKBOX' => ['key' => 'tx_mkforms_widgets_checkbox_Main'],
'CHECKSINGLE' => ['key' => 'tx_mkforms_widgets_checksingle_Main'],
'DATE' => ['key' => 'tx_mkforms_widgets_date_Main'],
'HIDDEN' => ['key' => 'tx_mkforms_widgets_hidden_Main'],
'LISTBOX' => ['key' => 'tx_mkforms_widgets_listbox_Main'],
'PASSTHRU' => ['key' => 'tx_mkforms_widgets_passthru_Main'],
'PASSWORD' => ['key' => 'tx_mkforms_widgets_pwd_Main'],
'RADIOBUTTON' => ['key' => 'tx_mkforms_widgets_radio_Main'],
'LISTERSELECT' => ['key' => 'tx_mkforms_widgets_listerselect_Main'],
'SUBMIT' => ['key' => 'tx_mkforms_widgets_submit_Main'],
'RESET' => ['key' => 'tx_mkforms_widgets_reset_Main'],
'TEXT' => ['key' => 'tx_mkforms_widgets_text_Main'],
'BUTTON' => ['key' => 'tx_mkforms_widgets_button_Main'],
'IMAGE' => ['key' => 'tx_mkforms_widgets_img_Main'],
'TEXTAREA' => ['key' => 'tx_mkforms_widgets_txtarea_Main'],
'BOX' => ['key' => 'tx_mkforms_widgets_box_Main'],
'LABEL' => ['key' => 'tx_mkforms_widgets_label_Main'],
'LINK' => ['key' => 'tx_mkforms_widgets_link_Main'],
'CHOOSER' => ['key' => 'tx_mkforms_widgets_chooser_Main'],
'CAPTCHA' => ['key' => 'tx_mkforms_widgets_captcha_Main'],
'DEWPLAYER' => ['key' => 'tx_mkforms_widgets_dewplayer_Main'],
'MODALBOX' => ['key' => 'tx_mkforms_widgets_modalbox_Main'],
'TABPANEL' => ['key' => 'tx_mkforms_widgets_tabpanel_Main'],
'TAB' => ['key' => 'tx_mkforms_widgets_tab_Main'],
'I18N' => ['key' => 'tx_mkforms_widgets_i18n_Main'],
'SEARCHFORM' => ['key' => 'tx_mkforms_widgets_searchform_Main'],
'LISTER' => ['key' => 'tx_mkforms_widgets_lister_Main'],
'UPLOAD' => ['key' => 'tx_mkforms_widgets_upload_Main'],
'SELECTOR' => ['key' => 'tx_mkforms_widgets_selector_Main'],
'SWFUPLOAD' => ['key' => 'tx_mkforms_widgets_swfupload_Main'],
'DAMUPLOAD' => ['key' => 'tx_mkforms_widgets_mediaupload_Main'],
'MEDIAUPLOAD' => ['key' => 'tx_mkforms_widgets_mediaupload_Main'],
'ACCORDION' => ['key' => 'tx_mkforms_widgets_accordion_Main'],
'PROGRESSBAR' => ['key' => 'tx_mkforms_widgets_progressbar_Main'],
'TICKER' => ['key' => 'tx_mkforms_widgets_ticker_Main'],
'AUTOCOMPLETE' => ['key' => 'tx_mkforms_widgets_autocomplete_Main'],
'MODALBOX2' => ['key' => 'tx_mkforms_widgets_modalbox2_Main'],
'JSTREE' => ['key' => 'tx_mkforms_widgets_jstree_Main'],
'FLUIDVIEWHELPER' => ['key' => 'tx_mkforms_widgets_fluidviewhelper_Main'],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['declaredobjects']['validators'] = [
'DB' => ['key' => 'tx_mkforms_validator_db_Main'],
'STANDARD' => ['key' => 'tx_mkforms_validator_std_Main'],
'FILE' => ['key' => 'tx_mkforms_validator_file_Main'],
'PREG' => ['key' => 'tx_mkforms_validator_preg_Main'],
'NUM' => ['key' => 'tx_mkforms_validator_num_Main'],
'TIMETRACKING' => ['key' => 'tx_mkforms_validator_timetracking_Main'],
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['tx_ameosformidable']['ajaxevent']['conf'] = [
'virtualizeFE' => true,
'initBEuser' => false,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['tx_ameosformidable']['ajaxservice']['conf'] = [
'virtualizeFE' => true,
'initBEuser' => false,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['rdt_ajaxlist']['content']['conf'] = [
'virtualizeFE' => true,
'initBEuser' => false,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['widget_mediaupload']['upload']['conf'] = [
'virtualizeFE' => true,
'initBEuser' => false,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['rdt_swfupload']['upload']['conf'] = [
'virtualizeFE' => false,
'initBEuser' => false,
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['ajax_services']['rdt_autocomplete']['lister']['conf'] = [
'virtualizeFE' => false,
'initBEuser' => false,
];
// das ist nur eine info für entwickler welcher basis exception code
// für diese extension verwendet wird. in diesem fall 200.
// also könnte ein valider exception code dieser extension 2001 sein
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['mkforms']['baseExceptionCode'] = 200;
require_once TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('mkforms', 'Classes/Constants.php');