MT-115: Selective Import/Export - Add license key to include it only in enterprise/enterprise edition

This commit is contained in:
mcuiza
2016-04-08 15:55:18 -04:00
parent a3fd15f69f
commit 415546f346
3 changed files with 13 additions and 3 deletions

View File

@@ -95,5 +95,14 @@ if(sizeof($callBackFile)) {
}
$oHeadPublisher->assign("importProcessCallbackFile", $file);
$isGranularFeature = false;
/*----------------------------------********---------------------------------*/
$licensedFeatures = & PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('jXsSi94bkRUcVZyRStNVExlTXhEclVadGRRcG9xbjNvTWVFQUF3cklKQVBiVT0=')) {
$isGranularFeature = true;
}
/*----------------------------------********---------------------------------*/
$oHeadPublisher->assign("isGranularFeature", $isGranularFeature);
G::RenderPage( 'publish', 'extJs' );