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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-03-23 04:09:59 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-03-23 04:09:59 +0300
commit37d5deb35fe20a12756f02c439505dbaf5b4b792 (patch)
treea9fe7115469e4a71f4441914717b47224611a266 /piwik.php
parentb1b5086f1d3aeb4b1c4965608527935f97590441 (diff)
- fixed rendering of recursive dataTable (php / xml) eg. try http://piwik.org/demo/index.php?module=API&method=Actions.getActions&idSite=1&period=week&date=today&filter_column_recursive=label&filter_pattern_recursive=index&expanded=1&format=xml
- refs #33 work in progress
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/piwik.php b/piwik.php
index 6a9de8e939..4c5891bb23 100644
--- a/piwik.php
+++ b/piwik.php
@@ -1,4 +1,4 @@
-<?php
+<?php
/**
* Piwik - Open source web analytics
*
@@ -51,20 +51,17 @@ require_once "LogStats/Visit.php";
$GLOBALS['DEBUGPIWIK'] = false;
-
if($GLOBALS['DEBUGPIWIK'] === true)
{
date_default_timezone_set(date_default_timezone_get());
- /**
- * Error / exception handling functions
- */
require_once PIWIK_INCLUDE_PATH . "/modules/ErrorHandler.php";
require_once PIWIK_INCLUDE_PATH . "/modules/ExceptionHandler.php";
set_error_handler('Piwik_ErrorHandler');
set_exception_handler('Piwik_ExceptionHandler');
+ printDebug($_GET);
}
+
ob_start();
-printDebug($_GET);
$process = new Piwik_LogStats;
$process->main();
ob_end_flush();