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:
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/piwik.php b/piwik.php
index 3a8ded1202..65fcd55083 100644
--- a/piwik.php
+++ b/piwik.php
@@ -7,7 +7,7 @@
*
* @package Piwik
*/
-use Piwik\Core\Piwik;
+use Piwik\Piwik;
$GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
$GLOBALS['PIWIK_TRACKER_DEBUG_FORCE_SCHEDULED_TASKS'] = false;
@@ -66,7 +66,7 @@ if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {
$timer = new Piwik_Timer();
set_error_handler('Piwik_ErrorHandler');
set_exception_handler('Piwik_ExceptionHandler');
- printDebug("Debug enabled - Input parameters: <br/>" . var_export($_GET, true));
+ Common::printDebug("Debug enabled - Input parameters: <br/>" . var_export($_GET, true));
Piwik_Tracker_Db::enableProfiling();
Piwik::createConfigObject();
Piwik::createLogObject();
@@ -81,7 +81,7 @@ if (!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING) {
}
ob_end_flush();
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {
- printDebug($_COOKIE);
- printDebug($timer);
+ Common::printDebug($_COOKIE);
+ Common::printDebug($timer);
}
}