add matomo, slim down a few lines

This commit is contained in:
2019-03-18 17:27:56 +01:00
parent 9babd3cb56
commit 0bc20b77b3
7 changed files with 87 additions and 19 deletions

14
static/piwik.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* Piwik - free/libre analytics platform
* Piwik Proxy Hide URL
*
* @link http://piwik.org/faq/how-to/#faq_132
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
define('MATOMO_PROXY_FROM_ENDPOINT', 1);
$path = "piwik.php";
include dirname(__FILE__) . '/proxy.php';