Project

General

Profile

Bug #21769 ยป hardcoded-BE-path-in-installer.diff

Administrator Admin, 2009-12-02 12:53

View differences:

typo3_src-4.3.0.patched/typo3/sysext/install/updates/class.tx_coreupdates_installnewsysexts.php 2009-12-01 11:48:42.745164200 +0000
if (!t3lib_extMgm::isLoaded($_EXTKEY)) {
$EM_CONF = FALSE;
// extension may not been loaded at this point, so we can't use an API function from t3lib_extmgm
require (PATH_site . 'typo3/sysext/' . $_EXTKEY . '/ext_emconf.php');
require (PATH_site . TYPO3_mainDir . '/sysext/' . $_EXTKEY . '/ext_emconf.php');
$description .= '
<strong>' . $EM_CONF[$_EXTKEY]['title'] . ' [' . $_EXTKEY . ']</strong>
' . $EM_CONF[$_EXTKEY]['description'] . '<br />';
......
if (!t3lib_extMgm::isLoaded($_EXTKEY)) {
$EM_CONF = FALSE;
// extension may not been loaded at this point, so we can't use an API function from t3lib_extmgm
require (PATH_site . 'typo3/sysext/' . $_EXTKEY . '/ext_emconf.php');
require (PATH_site . TYPO3_mainDir . '/sysext/' . $_EXTKEY . '/ext_emconf.php');
$content .= '
<input type="checkbox" id="' . $_EXTKEY . '" name="' . $inputPrefix . '[sysext][' . $_EXTKEY . ']" value="1" checked="checked" /><label for="' . $_EXTKEY . '">' . $EM_CONF[$_EXTKEY]['title'] . ' [' . $_EXTKEY . ']</label><br />';
}
    (1-1/1)