diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-20 08:49:26 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-20 08:49:26 +0400 |
commit | 6e38973acc12e9f7fa2d02edee3f8bbbfdbb9694 (patch) | |
tree | 603ff550b4302bd88a2a73f413b59cf61ef9e372 /piwik.php | |
parent | 03b4953f008c1063e6d7166143ba844e8c6e89cc (diff) |
Removing extra namespace \Core
Diffstat (limited to 'piwik.php')
-rw-r--r-- | piwik.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } } |