Bug #54866
closedmake ExtensionManagementUtility known to ext_localconf.php
0%
Description
During to the upgrade process for TYPO3 6.2 it is necessary to update the files ext_localconf.php and ext_tables.php of an extension.
So e.g. a call
t3lib_extMgm::extPath('myextkey')
must be replaced by
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('myextkey')
However this adds many more characters to those files.
I would like to use this short call:
ExtensionManagementUtility::extPath('myextkey')
So add a global "use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;" before the files ext_localconf.php and ext_tables.php are included.
Updated by Markus Klein almost 11 years ago
Why do you need to change that??
t3lib_extMgm should work as always
Updated by Markus Klein almost 11 years ago
- Status changed from New to Needs Feedback
Updated by Franz Holzinger almost 11 years ago
t3lib_extMgm works for now. But who says, that 't3lib_extMgm' will work forever in all future versions of TYPO3?
t3lib_extMgm does not exist as a file name any more. So I assume that it will be removed one day.
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to New
Updated by Christian Kuhn almost 10 years ago
- Status changed from New to Rejected
Hey. This was discussed a while ago and we decided to not add a generic "use" before inclusion of these files. I'm sorry, but in this case you will have to live the the full name.