diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-07-21 07:12:05 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-07-21 07:12:05 +0300 |
commit | fe448b1b8c631b2ce883f8d1fe1daf15e96aad32 (patch) | |
tree | d1d3f441590c62070868edf740bc57bdd7d8ceb8 /piwik.php | |
parent | 474fe9693f001586391b10a303412ec4bbe21da5 (diff) |
Refs #10331 #10283
Diffstat (limited to 'piwik.php')
-rw-r--r-- | piwik.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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(); |