Skip to content
Extraits de code Groupes Projets
Valider ec4fb612 rédigé par robocoder's avatar robocoder
Parcourir les fichiers

refs #1520

git-svn-id: http://dev.piwik.org/svn/trunk@3039 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 8b706ab3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* - date1 = starting day of the period * - date1 = starting day of the period
* - date2 = ending day of the period * - date2 = ending day of the period
* - period = integer that defines the period (day/week/etc.). @see period::getId() * - period = integer that defines the period (day/week/etc.). @see period::getId()
* - ts_archived = timestamp when the archive was processed * - ts_archived = timestamp when the archive was processed (UTC)
* - name = the name of the report (ex: uniq_visitors or search_keywords_by_search_engines) * - name = the name of the report (ex: uniq_visitors or search_keywords_by_search_engines)
* - value = the actual data * - value = the actual data
* *
...@@ -642,7 +642,7 @@ abstract class Piwik_ArchiveProcessing ...@@ -642,7 +642,7 @@ abstract class Piwik_ArchiveProcessing
$this->period->getDateStart()->toString('Y-m-d'), $this->period->getDateStart()->toString('Y-m-d'),
$this->period->getDateEnd()->toString('Y-m-d'), $this->period->getDateEnd()->toString('Y-m-d'),
$this->periodId, $this->periodId,
date("Y-m-d H:i:s"), gmdate("Y-m-d H:i:s"),
$record->name, $record->name,
$record->value, $record->value,
) )
...@@ -672,8 +672,8 @@ abstract class Piwik_ArchiveProcessing ...@@ -672,8 +672,8 @@ abstract class Piwik_ArchiveProcessing
if($this->minDatetimeArchiveProcessedUTC) if($this->minDatetimeArchiveProcessedUTC)
{ {
$timeStampWhere = " AND ts_archived >= ? "; $timeStampWhere = " AND ts_archived >= ? ";
$bindSQL[] = Piwik_Date::factory($this->minDatetimeArchiveProcessedUTC)->getDatetime(); $bindSQL[] = Piwik_Date::factory($this->minDatetimeArchiveProcessedUTC)->getDatetime();
} }
$sqlQuery = " SELECT idarchive, value, name, date1 as startDate $sqlQuery = " SELECT idarchive, value, name, date1 as startDate
......
...@@ -17,6 +17,7 @@ if(file_exists('bootstrap.php')) ...@@ -17,6 +17,7 @@ if(file_exists('bootstrap.php'))
} }
$GLOBALS['PIWIK_TRACKER_MODE'] = true; $GLOBALS['PIWIK_TRACKER_MODE'] = true;
error_reporting(E_ALL|E_NOTICE); error_reporting(E_ALL|E_NOTICE);
@ini_set('xdebug.show_exception_trace', 0);
define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__)=='/'?'':dirname(__FILE__)); define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__)=='/'?'':dirname(__FILE__));
if(!defined('PIWIK_USER_PATH')) if(!defined('PIWIK_USER_PATH'))
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter