Welcome to mirror list, hosted at ThFree Co, Russian Federation.

includes.php « proxy « PHPUnit « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5c75e66b85ac800584ad73e5fd297cc94fb6e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

// Good old test proxy endpoints have some commons

define('PIWIK_INCLUDE_PATH', realpath(dirname(__FILE__)) . '/../../../');
define('PIWIK_USER_PATH', PIWIK_INCLUDE_PATH);
define('PIWIK_PRINT_ERROR_BACKTRACE', true);

require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';
require_once PIWIK_INCLUDE_PATH . '/core/EventDispatcher.php';
require_once PIWIK_INCLUDE_PATH . '/core/Piwik.php';
require_once PIWIK_INCLUDE_PATH . '/libs/upgradephp/upgrade.php';
require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/TestingEnvironment.php';