Innov-AI
    Documentation | MentDB Weak Server
Function 'mode' to switch to a good environment

  • Here the parameter SERVER_MODE
  • parameter get value "SERVER_MODE";
  • "PROD";
  • Here the mode function:
  • mode SERVER_MODE
    	(PROD) {1}
    	(DEV) {2}
    	{3}
    ;
  • "1";
  • Depending on the SERVER_MODE parameter you can develop the same source code for all your DEV/PREPROD/PROD environments.
Services     Supporters     Contact     About     Legal notice © 2024