File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/design/frontend/base/default/template/piwikanalytics Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 18
18
<?php
19
19
20
20
if ($ siteId ) {
21
+
22
+ /*path for noscript should take unadultered path*/
23
+ $ bugPath = $ installPath ;
24
+
21
25
if (strpos ($ installPath , "https:// " ) !== false ) {
22
26
$ secureinstallPath = $ installPath ;
23
27
$ installPath = str_replace ("https:// " , "http:// " , $ installPath );
73
77
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.defer=true; g.async=true; g.src=u+'piwik.js';
74
78
s.parentNode.insertBefore(g,s); })();
75
79
</script>
76
- <noscript><p><img src="<?php echo $ installPath ?> piwik.php?idsite=<?php echo $ siteId ?> " style="border:0" alt="" /></p></noscript>
80
+ <noscript><p><img src="<?php echo $ bugPath ?> piwik.php?idsite=<?php echo $ siteId ?> " style="border:0" alt="" /></p></noscript>
77
81
<!-- END PIWIK TRACKING CODE -->
78
82
79
83
<?php } ?>
80
- <?php endif ; ?>
84
+ <?php endif ; ?>
You can’t perform that action at this time.
0 commit comments