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:
authorThomas Steur <thomas.steur@gmail.com>2013-11-18 07:02:19 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-11-18 07:02:19 +0400
commit9060f0180cb935efd1925942d3a8ce1cf309459a (patch)
treeb474d8758f3b45063e4bd430f5daa028b369c879 /index.php
parent4658d92891093982d979e7ec8343ee4ccc510a38 (diff)
getting rid of the fetch parameter
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.php b/index.php
index 77bde9a4f4..45269261c3 100644
--- a/index.php
+++ b/index.php
@@ -53,5 +53,9 @@ if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) {
if (!defined('PIWIK_ENABLE_DISPATCH') || PIWIK_ENABLE_DISPATCH) {
$controller = FrontController::getInstance();
$controller->init();
- $controller->dispatch();
+ $response = $controller->dispatch();
+
+ if (!is_null($response)) {
+ echo $response;
+ }
}