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:
authormattpiwik <matthieu.aubry@gmail.com>2010-03-22 17:55:50 +0300
committermattpiwik <matthieu.aubry@gmail.com>2010-03-22 17:55:50 +0300
commitb1ef3d2e28e93e86bb6fbc742c42d3b5cac3f1e6 (patch)
tree0282311b205362bc38266fa0d8dd642a108e382d /piwik.php
parent15a147da730b0a8aa15d30c15449d2798ff6efed (diff)
Fixes #43
Adding tests that prove that the code was working as expected (I got lucky :) the IP 255.255.255.* is stored in the config file as: array ( 0 => -256, 1 => -1, ), which passes the test >= && <= as expected git-svn-id: http://dev.piwik.org/svn/trunk@1972 59fd770c-687e-43c8-a1e3-f5a4ff64c105
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 213cd3001d..e69aad6c12 100644
--- a/piwik.php
+++ b/piwik.php
@@ -15,8 +15,8 @@ if(file_exists('bootstrap.php'))
}
$GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
+$GLOBALS['PIWIK_TRACKER_MODE'] = true;
-define('PIWIK_TRACKER_MODE', true);
error_reporting(E_ALL|E_NOTICE);
define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__)=='/'?'':dirname(__FILE__));