Issue Feature Closed

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

Hendrik N 04/13/12, 12:22 updated 07/05/16, 11:52

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.