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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/piwik.php b/piwik.php
index 95cc6271f1..dcca10e408 100644
--- a/piwik.php
+++ b/piwik.php
@@ -48,6 +48,10 @@ require_once PIWIK_INCLUDE_PATH . '/core/Tracker/Cache.php';
require_once PIWIK_INCLUDE_PATH . '/core/Tracker/Request.php';
require_once PIWIK_INCLUDE_PATH . '/core/Cookie.php';
+\Piwik\Container\StaticContainer::setEnvironment('tracker');
+
+\Piwik\Profiler::setupProfilerXHProf(true, true);
+
Tracker::loadTrackerEnvironment();
$tracker = new Tracker();