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:
Ronald Quenta
2015-10-22 16:42:30 -04:00
parent c8ccb276ba
commit c1a1fee169

View File

@@ -1244,6 +1244,12 @@ class Light
$fields = \System::getSysInfo();
$response['version'] = $fields['PM_VERSION'];
$buildType = 'Community';
/*----------------------------------********---------------------------------*/
$buildType = 'Enterprise';
/*----------------------------------********---------------------------------*/
$response['buildType'] = $buildType;
$conf = new \Configurations();
$confEnvironment = $conf->getFormats();