diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf index 3ef835c..1e27902 100644 --- a/tmpl/sunstone-server.conf +++ b/tmpl/sunstone-server.conf @@ -101,7 +101,7 @@ # Default language setting -:lang: %%langue_sunstone +:lang: %%langue_sunstone # Default table order :table_order: desc @@ -126,7 +126,9 @@ # OneFlow endpoint # -:oneflow_server: http://localhost:2474/ +%if %%getVar('activer_oneflow', 'non') == 'oui' +:oneflow_server: http://%%getVar('ip_oneflow','172.0.0.1'):%%getVar('port_oneflow', '2474')/ +%end if ################################################################################ # Routes