-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
34 lines (26 loc) · 854 Bytes
/
ext_localconf.php
File metadata and controls
34 lines (26 loc) · 854 Bytes
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
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Flatmgrpay',
array(
'Booking' => 'new, create, confirm, scan',
),
// non-cacheable actions
array(
'Booking' => 'new, create, confirm, scan',
)
);
if (t3lib_extMgm::isLoaded('paymentlib', true)) {
require_once(t3lib_extMgm::extPath('paymentlib') . 'lib/class.tx_paymentlib_providerfactory.php');
}
if (TYPO3_MODE === 'FE') {
/* @var $renderer t3lib_PageRenderer */
$renderer = t3lib_div::makeInstance('t3lib_PageRenderer');
$renderer->addJsFile(t3lib_extMgm::siteRelPath($_EXTKEY) . 'Resources/Public/Js/flatmgrpay.js');
// append as last:
// $renderer->addHeaderData('<link rel="stylesheet" type="text/css" href="typo3conf/ext/hriyaml/Resources/Public/Css/mobile.css" media="all" />')
}
?>