From c1a1fee169f8e24ecb4c1d355d06e2866ee9e885 Mon Sep 17 00:00:00 2001 From: Ronald Quenta Date: Thu, 22 Oct 2015 16:42:30 -0400 Subject: [PATCH] =?UTF-8?q?PM-3851=20Retornar=20un=20flag=20para=20saber?= =?UTF-8?q?=20si=20la=20versi=C3=B3n=20de=20ProcessMaker=20es=20enterprise?= =?UTF-8?q?=20o=20community=20en=20el=20end=20point=20de=20par=C3=A1metros?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workflow/engine/src/ProcessMaker/BusinessModel/Light.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/Light.php b/workflow/engine/src/ProcessMaker/BusinessModel/Light.php index c8509dabd..f49c385d4 100644 --- a/workflow/engine/src/ProcessMaker/BusinessModel/Light.php +++ b/workflow/engine/src/ProcessMaker/BusinessModel/Light.php @@ -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();