Fixed bug #9061: felogin - recursive storage pids in TypoScript (Thanks to Steffen...
[Packages/TYPO3.CMS.git] / typo3 / sysext / felogin / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 //replace old Login
5 $pluginContent = trim('
6 plugin.tx_felogin_pi1 = USER_INT
7 plugin.tx_felogin_pi1 {
8 includeLibs = EXT:felogin/pi1/class.tx_felogin_pi1.php
9 userFunc = tx_felogin_pi1->main
10 }
11 ');
12 t3lib_extMgm::addTypoScript($_EXTKEY,'setup','
13 # Setting '.$_EXTKEY.' plugin TypoScript
14 '.$pluginContent);
15
16 $addLine = trim('
17 tt_content.login = COA
18 tt_content.login {
19 10 = < lib.stdheader
20 20 >
21 20 = < plugin.tx_felogin_pi1
22 }
23 ');
24
25 t3lib_extMgm::addTypoScript($_EXTKEY,'setup','# Setting '.$_EXTKEY.' plugin TypoScript'.$addLine.'',43);
26
27
28 //activate support for kb_md5fepw
29 if (t3lib_extMgm::isLoaded('kb_md5fepw') && (TYPO3_MODE == 'FE')) {
30 $GLOBALS ['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][] = 'tx_kbmd5fepw_newloginbox->loginFormOnSubmit';
31 require_once(t3lib_extMgm::extPath('kb_md5fepw').'pi1/class.tx_kbmd5fepw_newloginbox.php');
32 }
33
34 ?>