Issue Bug Closed

#20506Adminpanel forgets TYPO3_mainDir

Niels Fröhling 05/26/09, 12:24 updated 08/14/11, 17:09

Description

In tslib_AdminPanel::ext_makeToolBar() is a TYPO3_mainDir missing for custom content element wizards:

$newContentWizScriptPath = t3lib_extMgm::isLoaded($tmpTSc) ? (t3lib_extMgm::extRelPath($tmpTSc) . ‘mod1/db_new_content_el.php’) : (TYPO3_mainDir . ‘sysext/cms/layout/db_new_content_el.php’);

Should be

$newContentWizScriptPath = t3lib_extMgm::isLoaded($tmpTSc) ? (TYPO3_mainDir . t3lib_extMgm::extRelPath($tmpTSc) . ‘mod1/db_new_content_el.php’) : (TYPO3_mainDir . ‘sysext/cms/layout/db_new_content_el.php’);

(issue imported from #M11191)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.