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-03-26 00:24:51 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-03-26 00:24:51 +0400
commit4c810a92e683ce1505e9fe55188ef769bde8871d (patch)
treeb58e82312f8d920e61cc9e9e97d9303e5a747723 /piwik.php
parent08a0e53818168fcee38d0c3d2264831cab2873b3 (diff)
fix core test
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/piwik.php b/piwik.php
index a123987a26..4563dddffe 100644
--- a/piwik.php
+++ b/piwik.php
@@ -85,7 +85,7 @@ if (!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING) {
\Piwik\FrontController::createConfigObject();
-$GLOBALS['PIWIK_TRACKER_DEBUG'] = \Piwik\Config::getInstance()->Tracker['debug'];
+$GLOBALS['PIWIK_TRACKER_DEBUG'] = (bool) \Piwik\Config::getInstance()->Tracker['debug'];
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {
require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';