Browse Source

Remove Matomo

pull/5/head
Miraty 2 years ago
parent
commit
56ccbaac41
  1. 25
      inc/debut.php

25
inc/debut.php

@ -21,16 +21,9 @@ function head($adresse) {
<meta name="publisher" content="Antopie">
<meta name="distribution" content="global">
<meta name="robots" content="index, follow">
<meta name="keywords" content="antopie.org, Miraty, Antopie">
<meta name="keywords" content="antopie.org, Antopie">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $page['description']; ?>">
<!--<title><?php
$protocol = $_SERVER['PROTOCOL'] = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) ? 'https://' : 'http://';
$baseURL = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
$baseURL = preg_replace("#/[a-zA-Z0-9]*\.php.*$#i", "", $baseURL);
echo $baseURL;
?></title>
<base href="http://localhost:8888/web/">-->
<script src="bibli/konami.js"></script>
<script>
var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }});
@ -46,22 +39,6 @@ function head($adresse) {
<link type="text/css" rel="stylesheet" href="gomez.min.css">
<link type="text/css" rel="stylesheet" href="bibli/fontello/css/fontello.css">
<link type="text/css" rel="stylesheet" href="bibli/ubuntu/ubuntu.min.css">
<!-- Début du code Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push(["setCookieDomain", "*.www.antopie.org"]);
_paq.push(["setDomains", ["*.www.antopie.org"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.antopie.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- Fin du code Matomo -->
</head>
<body lang="fr">