From c8ad97f4cec727b7875fe9c98b0817f7238a29db Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 15 Feb 2021 16:58:16 +0100 Subject: [PATCH] gestion sondednma alone --- .../src/Cadoles/CoreBundle/Controller/SondeController.php | 2 +- tmpl/ninegate-template.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/SondeController.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/SondeController.php index 6918160d..176e34c1 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/SondeController.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Controller/SondeController.php @@ -13,7 +13,7 @@ class SondeController extends Controller public function sondeAction() { // Debug sonde - $fgdebug = $this->getParameter("fgdebug"); + $fgdebug = true; // Calcul du login $user=$this->getUser(); diff --git a/tmpl/ninegate-template.yml b/tmpl/ninegate-template.yml index bc964709..0bf95e68 100644 --- a/tmpl/ninegate-template.yml +++ b/tmpl/ninegate-template.yml @@ -515,6 +515,9 @@ parameters: %else if %%getVar("activer_piwik", 'non') == "oui" activate_widsonde: true widsonde_url: /piwik/envoleTrackeur.js.php +%else if %%getVar("activer_sondednma", 'non') == "oui" + activate_widsonde: true + widsonde_url: /sondepiwik/envoleTrackeur.js.php %else activate_widsonde: false widsonde_url: