Feature #35959

Extension Manager t3lib_extMgm should have functions to check if an extension is local, global or system

Added by Hendrik Nadler about 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-04-13
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

History

#1 Updated by Wouter Wolters over 4 years ago

  • Target version set to 7.3 (Packages)

#2 Updated by Benni Mack about 4 years ago

  • Target version changed from 7.3 (Packages) to 7.4 (Backend)

#3 Updated by Susanne Moog almost 4 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#4 Updated by Benni Mack over 3 years ago

  • Target version deleted (7.5)

#5 Updated by Nicole Cordes about 3 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?

#6 Updated by Benni Mack about 3 years ago

I agree with Nicole. Plus, in the unlikely case that you need it, it is stored inside $TYPO3_LOADED_EXT['type']

#7 Updated by Riccardo De Contardi almost 3 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

Also available in: Atom PDF