-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
executable file
·46 lines (35 loc) · 1.25 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'DIX.' . $_EXTKEY,
'Easylogin',
array(
'Dixeasylogin' => 'index, providerselected, verify',
),
// non-cacheable actions
array(
'Dixeasylogin' => 'index, providerselected, verify',
)
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
$_EXTKEY,
'auth' /* sv type */,
'DIX\\Easylogin2\\Service\\AuthenticationService' /* sv key */,
array(
'title' => 'Authentication service',
'description' => 'Authentication service for easylogin2',
'subtype' => 'getUserFE,authUserFE',
'available' => true,
'priority' => 80,
'quality' => 80,
'os' => '',
'exec' => '',
'className' => 'DIX\\Easylogin2\\Service\\AuthenticationService',
)
);
// http://resterland.ch/intern/sitenews/news/detail/News/request-parameters-could-not-be-validated-chash-comparison-failed.html
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = 0;
// adding default realurl configuration (like in the realurl manual).
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration'][] = 'EXT:easylogin2/Classes/Helper/Realurl.php:tx_easylogin2_realurl->autoconfgen';