blob: 4494ca0e0f96bbd1bc2ce40170c168b8d18f4a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* Proxy to index.php, but will use the Test DB
* Used by tests/PHPUnit/Integration/ImportLogsTest.php and tests/PHPUnit/Integration/UITest.php
*/
require realpath(dirname(__FILE__)) . "/includes.php";
Piwik_TestingEnvironment::addHooks();
if (\Piwik\DbHelper::isInstalled()) {
\Piwik\ViewDataTable\Manager::clearAllViewDataTableParameters();
}
\Piwik\Profiler::setupProfilerXHProf();
include PIWIK_INCLUDE_PATH . '/index.php';
|