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 about 12 years ago. Updated almost 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

Also available in: Atom PDF