Explorar el Código

fix: piwik ne peut actuellement utiliser que le http et pas le httpS (pas de certif sur analytics.muzi.ch pour le moment)

Sevajol Bastien hace 12 años
padre
commit
dab7848d8b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/Muzich/CoreBundle/Resources/views/layout.html.twig

+ 2 - 1
src/Muzich/CoreBundle/Resources/views/layout.html.twig Ver fichero

@@ -59,7 +59,8 @@
59 59
         _paq.push(['trackPageView']);
60 60
         _paq.push(['enableLinkTracking']);
61 61
         (function() {
62
-          var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.muzi.ch//";
62
+          //var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.muzi.ch//"; # pas de certif sur analytics.muzi.ch pour le moment
63
+          var u=(("https:" == document.location.protocol) ? "http" : "http") + "://analytics.muzi.ch//";
63 64
           _paq.push(['setTrackerUrl', u+'piwik.php']);
64 65
           _paq.push(['setSiteId', 1]);
65 66
           var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';