diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2009-03-20 10:39:09 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2009-03-20 10:39:09 +0300 |
commit | 0bcc6f8d5e27db477ee7e34b1bed6150671d4ce3 (patch) | |
tree | 95df9f49750fadf00f67b995c7ed240acebdab43 /core/Tracker/Db.php | |
parent | 7c0a514ea0ed897e3f3a386c169c527c12758da2 (diff) |
- fixed #9 referer URLs with host registered as main_url or alias_url should NOT be counted as referer
now if a visitor comes to piwik.org/ with a piwik.org/xx/y/z referer, it will be considered a direct entry rather than a referer visit.
makes use of the new caching mechanism introduced with the Goal Tracking plugin, to cache website-related data for super fast access at Tracker time.
- Goals is not a tracker plugin anymore (improving performance of Tracker)
- fixed bug that the cache file wasn't read properly and goal queries were done at each piwik.php request
git-svn-id: http://dev.piwik.org/svn/trunk@994 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Tracker/Db.php')
-rw-r--r-- | core/Tracker/Db.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/Tracker/Db.php b/core/Tracker/Db.php index 1d57467c84..93ea1924ec 100644 --- a/core/Tracker/Db.php +++ b/core/Tracker/Db.php @@ -164,6 +164,15 @@ class Piwik_Tracker_Db } /** + * This function is a proxy to fetch(), used to maintain compatibility with Zend_Db interface + * @see fetch() + */ + public function fetchRow( $query, $parameters = array() ) + { + return $this->fetch($query, $parameters); + } + + /** * Executes a query, using optional bound parameters. * * @param string Query |