Ask questions about installing and configuring ProcessMaker 3

Moderator: amosbatto

By springhigh
#822211
PM 3.3 has two env.ini files
Just wondering which is the best to use, which takes precedent, or if we even need both?
The first one is where PM applies changes made in the admin - System

1. processmaker/workflow/engine/config/env.ini
2. processmaker/shared/sites/[SITE]/env.ini

[edit] based on PM only having one workspace

thanks
User avatar
By amosbatto
#822239
I had to read the source code to figure out what Processmaker is now doing. First, ProcessMaker reads the processmaker/workflow/engine/config/env.ini file, then it reads the processmaker/shared/sites/[SITE]/env.ini file.

You can put settings in either file, but a setting in the processmaker/workflow/engine/config/env.ini file can be overwritten by a setting in the processmaker/shared/sites/[SITE]/env.ini file, so it is generally recommended to use the processmaker/shared/sites/[SITE]/env.ini file.

PS: In case you are interested, the source code that handles this is System::getSystemConfiguration() defined in workflow/engine/src/ProcessMaker/Core/System.php

Hi Amos, It works but was not able to see what I […]

Thank you so much

Web Design Palm Beach Gardens

Web designing is a very important part of content […]

fiqihpunya, What version of PM are you using? Ar[…]