From 70d1ccd220f45e95d2aa9749946841d8dfc1e4dc Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 28 Jan 2021 10:27:50 +0100 Subject: [PATCH] ignorer l'usage de la sonde dnma sur les widgets --- .../PortalBundle/Controller/PagewidgetController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php index 8a26fff5..657ab8f9 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php @@ -496,6 +496,13 @@ class PagewidgetController extends Controller $imagemedia=true; } } + // Si url classique on igonore l'usage de la sonde dnma + else { + if(stripos($url,"?")===false) + $url.="?notsondednma=true"; + else + $url.="¬sondednma=true"; + } // Spécifique Deviant Art if(strpos($url, "images-wixmp") !== false) $imagemedia=true;