Fixed bug #13072: Captcha not showing up when using MP from other domain (Thanks...
[TYPO3CMS/Extensions/sr_freecap.git] / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3 if (TYPO3_MODE === 'BE') {
4 // GDlib 2 is a requirement for the BE module
5 // For TYPO3 4.4+, if GDlib is available, it is GDlib 2
6 if ((t3lib_div::int_from_ver($GLOBALS['TYPO_VERSION']) >= 4004000 && $GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib']) || $GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib_2']) {
7 t3lib_extMgm::addModule('tools', 'txsrfreecapM1', '', t3lib_extMgm::extPath($_EXTKEY).'mod1/');
8 }
9 }
10 ?>