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
path: root/misc
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:28:48 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:28:48 +0400
commit181a36bbe3f3b9081d7bfe7e89a86b63fd6b5eb5 (patch)
treed2c63f66f644e30d2f49223b7b2c4dae8fb3eaa6 /misc
parent879d0e094824bd6d46ca1ecbba1cda945394bb05 (diff)
Refactor class Piwik to \Piwik\Core\Piwik
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php1
-rwxr-xr-xmisc/others/geoipUpdateRows.php1
-rw-r--r--misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php2
-rw-r--r--misc/others/test_generateLotsVisitsWebsites.php1
4 files changed, 5 insertions, 0 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 20b5c908c4..2fbf894783 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -1,5 +1,6 @@
<?php
use Piwik\Core\Config;
+use Piwik\Core\Piwik;
$USAGE = "
Usage:
diff --git a/misc/others/geoipUpdateRows.php b/misc/others/geoipUpdateRows.php
index 9d5a6454c2..747cf4d62e 100755
--- a/misc/others/geoipUpdateRows.php
+++ b/misc/others/geoipUpdateRows.php
@@ -1,5 +1,6 @@
<?php
use Piwik\Core\Config;
+use Piwik\Core\Piwik;
ini_set("memory_limit", "512M");
error_reporting(E_ALL | E_NOTICE);
diff --git a/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php b/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php
index 4f51391b96..ac2539eca7 100644
--- a/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php
+++ b/misc/others/test_cookies_GenerateHundredsWebsitesAndVisits.php
@@ -1,6 +1,8 @@
<?php
// Script that creates 100 websites, then outputs a IMG that records a pageview in each website
// Used initially to test how to handle cookies for this use case (see http://dev.piwik.org/trac/ticket/409)
+use Piwik\Core\Piwik;
+
exit;
define('PIWIK_INCLUDE_PATH', '../..');
diff --git a/misc/others/test_generateLotsVisitsWebsites.php b/misc/others/test_generateLotsVisitsWebsites.php
index 30ca703d68..9a07768388 100644
--- a/misc/others/test_generateLotsVisitsWebsites.php
+++ b/misc/others/test_generateLotsVisitsWebsites.php
@@ -1,5 +1,6 @@
<?php
use Piwik\Core\Config;
+use Piwik\Core\Piwik;
define('PIWIK_INCLUDE_PATH', realpath(dirname(__FILE__) . "/../.."));
define('PIWIK_ENABLE_DISPATCH', false);