Project

General

Profile

Actions

Feature #35959

closed

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

Added by Hendrik N over 12 years ago. Updated over 8 years ago.

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

0%

Estimated time:
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.

Actions #1

Updated by Wouter Wolters almost 10 years ago

  • Target version set to 7.3 (Packages)
Actions #2

Updated by Benni Mack over 9 years ago

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

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack about 9 years ago

  • Target version deleted (7.5)
Actions #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?

Actions #6

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']

Actions #7

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

Actions

Also available in: Atom PDF