config
5 years ago
core
5 years ago
js
5 years ago
lang
5 years ago
libs
5 years ago
node_modules
5 years ago
plugins
5 years ago
vendor
5 years ago
.htaccess
6 years ago
DIObject.php
5 years ago
LEGALNOTICE
5 years ago
LICENSE
6 years ago
LegacyAutoloader.php
5 years ago
PRIVACY.md
5 years ago
README.md
5 years ago
SECURITY.md
6 years ago
bootstrap.php
5 years ago
console
6 years ago
favicon.ico
6 years ago
index.php
5 years ago
matomo.js
5 years ago
matomo.php
5 years ago
offline-service-worker.js
5 years ago
package-lock.json
5 years ago
piwik.js
5 years ago
piwik.php
5 years ago
robots.txt
5 years ago
index.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Matomo - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | */ |
| 8 | |
| 9 | if (!defined('PIWIK_DOCUMENT_ROOT')) { |
| 10 | define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__) == '/' ? '' : dirname(__FILE__)); |
| 11 | } |
| 12 | if (file_exists(PIWIK_DOCUMENT_ROOT . '/bootstrap.php')) { |
| 13 | require_once PIWIK_DOCUMENT_ROOT . '/bootstrap.php'; |
| 14 | } |
| 15 | if (!defined('PIWIK_INCLUDE_PATH')) { |
| 16 | define('PIWIK_INCLUDE_PATH', PIWIK_DOCUMENT_ROOT); |
| 17 | } |
| 18 | |
| 19 | require_once PIWIK_INCLUDE_PATH . '/core/bootstrap.php'; |
| 20 | |
| 21 | if (!defined('PIWIK_PRINT_ERROR_BACKTRACE')) { |
| 22 | define('PIWIK_PRINT_ERROR_BACKTRACE', false); |
| 23 | } |
| 24 | |
| 25 | require_once PIWIK_INCLUDE_PATH . '/core/dispatch.php'; |
| 26 |