sonde dnma alone

This commit is contained in:
afornerot 2021-02-17 12:52:01 +01:00
parent 5dc5ea4644
commit 9e899cd73d
5 changed files with 13 additions and 1 deletions

View File

@ -65,3 +65,5 @@ PROXY_PORT=
# Sonde statistic # Sonde statistic
SONDE_USE=0 SONDE_USE=0
SONDE_URL=

View File

@ -15,5 +15,8 @@ twig:
wssuse: '%wssuse%' wssuse: '%wssuse%'
wssurl: '%wssurl%' wssurl: '%wssurl%'
sondeUse: '%sondeUse%' sondeUse: '%sondeUse%'
sondeUrl: '%sondeUrl%'

View File

@ -56,6 +56,7 @@ parameters:
proxyPort: '%env(resolve:PROXY_PORT)%' proxyPort: '%env(resolve:PROXY_PORT)%'
sondeUse: '%env(resolve:SONDE_USE)%' sondeUse: '%env(resolve:SONDE_USE)%'
sondeUrl: '%env(resolve:SONDE_URL)%'
services: services:
# default configuration for services in *this* file # default configuration for services in *this* file

View File

@ -65,3 +65,5 @@ PROXY_PORT=
# Sonde statistic # Sonde statistic
SONDE_USE=0 SONDE_USE=0
SONDE_URL=

View File

@ -112,10 +112,14 @@ PROXY_PORT=
# Sonde statistic # Sonde statistic
%if %%getVar("activer_sondepiwik_local", 'non') == "oui" %if %%getVar("activer_sondepiwik_local", 'non') == "oui"
SONDE_USE=1 SONDE_USE=1
SONDE_URL=/sondepiwik/envoleTrackeur.js.php
%else if %%getVar("activer_piwik", 'non') == "oui" %else if %%getVar("activer_piwik", 'non') == "oui"
SONDE_USE=1 SONDE_USE=1
SONDE_URL=/piwik/envoleTrackeur.js.php
%else if %%getVar("activer_sondednma", 'non') == "oui" %else if %%getVar("activer_sondednma", 'non') == "oui"
SONDE_USE=1 SONDE_USE=1
SONDE_URL=/sondepiwik/envoleTrackeur.js.php
%else %else
SONDE_USE=0 SONDE_USE=0
SONDE_URL=
%end if %end if