up observations
This commit is contained in:
@@ -92,16 +92,12 @@ if ($handle = opendir( PATH_PLUGINS )) {
|
|||||||
/**
|
/**
|
||||||
* Calls PMExtensionClass Builder to include Plugins changes.
|
* Calls PMExtensionClass Builder to include Plugins changes.
|
||||||
*/
|
*/
|
||||||
$config = Bootstrap::getSystemConfiguration();
|
$phpBuilder = new ProcessMakerPhpBuilderHelper();
|
||||||
$activeExperimentalFeatures = isset($config['experimental_features']) ? $config['experimental_features'] : true;
|
$phpBuilder->enabledExtensions = $oPluginRegistry->getEnabledPlugins();
|
||||||
if ($activeExperimentalFeatures) {
|
if (!empty($phpBuilder->enabledExtensions)) {
|
||||||
$phpBuilder = new ProcessMakerPhpBuilderHelper();
|
$phpBuilder->extension = true;
|
||||||
$phpBuilder->enabledExtensions = $oPluginRegistry->getEnabledPlugins();
|
|
||||||
if (!empty($phpBuilder->enabledExtensions)) {
|
|
||||||
$phpBuilder->extension = true;
|
|
||||||
}
|
|
||||||
$phpBuilder->buildAll();
|
|
||||||
}
|
}
|
||||||
|
$phpBuilder->buildAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
//$oPluginRegistry->showArrays();
|
//$oPluginRegistry->showArrays();
|
||||||
|
|||||||
Reference in New Issue
Block a user