Project

General

Profile

Feature #22211 » getExtVersion.patch

Administrator Admin, 2010-03-01 11:12

View differences:

t3lib/class.t3lib_extmgm.php (working copy)
self::$extensionKeyMap = NULL;
}
/**
* Retrieves the version of an extension
*
* @return string Version as String
*/
public static function getExtVersion($key) {
$version = false;
if (t3lib_extMgm::isLoaded($key)) {
include(t3lib_extMgm::extPath($key) . 'ext_emconf.php');
$version = $EM_CONF[$key]['version'];
}
return $version;
}
(1-1/4)