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:
authormattab <matthieu.aubry@gmail.com>2016-07-21 07:12:05 +0300
committermattab <matthieu.aubry@gmail.com>2016-07-21 07:12:05 +0300
commitfe448b1b8c631b2ce883f8d1fe1daf15e96aad32 (patch)
treed1d3f441590c62070868edf740bc57bdd7d8ceb8 /piwik.php
parent474fe9693f001586391b10a303412ec4bbe21da5 (diff)
Refs #10331 #10283
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/piwik.php b/piwik.php
index c1af709e2c..100cc5e072 100644
--- a/piwik.php
+++ b/piwik.php
@@ -52,7 +52,11 @@ require_once PIWIK_INCLUDE_PATH . '/core/Cookie.php';
SettingsServer::setIsTrackerApiRequest();
$environment = new \Piwik\Application\Environment('tracker');
-$environment->init();
+try {
+ $environment->init();
+} catch(\Piwik\Exception\NotYetInstalledException $e) {
+ die($e->getMessage());
+}
Tracker::loadTrackerEnvironment();