update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
|
|
@ -22,7 +22,7 @@ class IgnoreCookie
|
|||
*
|
||||
* @return Cookie
|
||||
*/
|
||||
static public function getTrackingCookie()
|
||||
public static function getTrackingCookie()
|
||||
{
|
||||
$cookie_name = @Config::getInstance()->Tracker['cookie_name'];
|
||||
$cookie_path = @Config::getInstance()->Tracker['cookie_path'];
|
||||
|
|
@ -35,7 +35,7 @@ class IgnoreCookie
|
|||
*
|
||||
* @return Cookie
|
||||
*/
|
||||
static public function getIgnoreCookie()
|
||||
public static function getIgnoreCookie()
|
||||
{
|
||||
$cookie_name = @Config::getInstance()->Tracker['ignore_visits_cookie_name'];
|
||||
$cookie_path = @Config::getInstance()->Tracker['cookie_path'];
|
||||
|
|
@ -46,7 +46,7 @@ class IgnoreCookie
|
|||
/**
|
||||
* Set ignore (visit) cookie or deletes it if already present
|
||||
*/
|
||||
static public function setIgnoreCookie()
|
||||
public static function setIgnoreCookie()
|
||||
{
|
||||
$ignoreCookie = self::getIgnoreCookie();
|
||||
if ($ignoreCookie->isCookieFound()) {
|
||||
|
|
@ -65,7 +65,7 @@ class IgnoreCookie
|
|||
*
|
||||
* @return bool True if ignore cookie found; false otherwise
|
||||
*/
|
||||
static public function isIgnoreCookieFound()
|
||||
public static function isIgnoreCookieFound()
|
||||
{
|
||||
$cookie = self::getIgnoreCookie();
|
||||
return $cookie->isCookieFound() && $cookie->get('ignore') === '*';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue