Project

General

Profile

Actions

Bug #20506

closed

Adminpanel forgets TYPO3_mainDir

Added by Niels Fröhling over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-05-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

11191.diff (1.12 KB) 11191.diff Administrator Admin, 2009-06-09 22:40
Actions

Also available in: Atom PDF