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 #1

Updated by Chris topher over 14 years ago

Has not been sent to Core List...

Actions #2

Updated by Susanne Moog over 13 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (0)

This is actually no bug as it is used this way. With some JS the TYPO3 path is prefixed. (Have a look at typo3/sysext/extra_page_cm_options/class.tx_extrapagecmoptions.php)

Actions

Also available in: Atom PDF