PM-3851 Retornar un flag para saber si la versión de ProcessMaker es enterprise o community en el end point de parámetros
This commit is contained in:
@@ -1244,6 +1244,12 @@ class Light
|
|||||||
$fields = \System::getSysInfo();
|
$fields = \System::getSysInfo();
|
||||||
$response['version'] = $fields['PM_VERSION'];
|
$response['version'] = $fields['PM_VERSION'];
|
||||||
|
|
||||||
|
$buildType = 'Community';
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
$buildType = 'Enterprise';
|
||||||
|
/*----------------------------------********---------------------------------*/
|
||||||
|
$response['buildType'] = $buildType;
|
||||||
|
|
||||||
$conf = new \Configurations();
|
$conf = new \Configurations();
|
||||||
$confEnvironment = $conf->getFormats();
|
$confEnvironment = $conf->getFormats();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user