Feature #35959
closedExtension Manager t3lib_extMgm should have functions to check if an extension is local, global or system
0%
Description
The extension manager should have functions to check if an extension is local, global or system:
public static function isLocalExtension($key) {} ...
Actually the function extPath already does that, so the 3 functions only need to be extracted:
if (@is_dir(PATH_typo3conf . 'ext/' . $key . '/';) { ...
While doing that the @-signs prefixing is_dir should be removed, because i dont see why they are (still?) necessary.
Updated by Wouter Wolters almost 10 years ago
- Target version set to 7.3 (Packages)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.3 (Packages) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Nicole Cordes over 8 years ago
- Status changed from New to Needs Feedback
I don't see a real use case to have to know where an extension is stored. Can you give any example why providing such functionality is important for you?
Updated by Benni Mack over 8 years ago
I agree with Nicole. Plus, in the unlikely case that you need it, it is stored inside $TYPO3_LOADED_EXT['type']
Updated by Riccardo De Contardi over 8 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision, then please open a new ticket and add a relation to this ticket number.
Thank you