uiharu enters

This commit is contained in:
flash 2020-08-20 20:37:24 +02:00
parent 44ce755665
commit 4dc3280baf

View file

@ -14,5 +14,21 @@ if(empty($is_index)):
<?php if(isset($scripts) && is_array($scripts)) foreach($scripts as $script): ?> <?php if(isset($scripts) && is_array($scripts)) foreach($scripts as $script): ?>
<script src="<?=$script;?>" charset="utf-8" type="text/javascript"></script> <script src="<?=$script;?>" charset="utf-8" type="text/javascript"></script>
<?php endforeach;?> <?php endforeach;?>
<?php if($_SERVER['HTTP_HOST'] === 'flash.moe'): ?>
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push(['disableCookies']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
_paq.push(['setTrackerUrl', '//uiharu.railgun.sh/mtm']);
_paq.push(['setSiteId', 'w4PqjBGmOL5l']);
var g = document.createElement('script');
g.type = 'text/javascript'; g.async = true;
g.defer = true; g.src = '//uiharu.railgun.sh/mtm.js';
document.head.appendChild(g);
})();
</script>
<?php endif; ?>
</body> </body>
</html> </html>