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:
authorThomas Steur <thomas.steur@googlemail.com>2014-05-19 03:07:07 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-05-19 03:07:07 +0400
commit016cf9e40f5ef55d0cc6fc6ba7b8f1647452154c (patch)
tree00945d5a10abef53ca3147d5d339b7df64288e67 /piwik.php
parent5161aaaecc7c074827364ec2a537e0ddf325ac44 (diff)
added possibility to get/create a tracker by using "Tracker = AnalyticsTracker.getTracker" instead of "Piwik.getTracker". Variable will be set only if no such variable is defined yet
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/piwik.php b/piwik.php
index f3327f666f..18f5b22a54 100644
--- a/piwik.php
+++ b/piwik.php
@@ -126,6 +126,7 @@ if (!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING) {
$process->main();
} catch (Exception $e) {
echo "Error:" . $e->getMessage();
+ exit(1);
}
ob_end_flush();
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {