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-01-20 03:17:36 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-01-20 03:17:36 +0300
commit2cd2a9e6724244b1a3efb846dbb95fe407b30612 (patch)
tree4f0edd11b7dd933ba3103f44af7a6b8bd3459732 /index.php
parenta8a6d54f80940bb47783edf9a04f841944c5443c (diff)
- all piwik datatable now work in IFRAME :-) it rocks!!!
try to load /piwik/?module=Widgetize&action=testIframe
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/index.php b/index.php
index 4403d16036..c50abbd156 100755
--- a/index.php
+++ b/index.php
@@ -57,10 +57,9 @@ set_exception_handler('Piwik_ExceptionHandler');
require_once "FrontController.php";
-$controller = new Piwik_FrontController;
+Piwik_FrontController::$enableDispatch = ENABLE_DISPATCH;
+
+$controller = Piwik_FrontController::getInstance();
$controller->init();
-if(ENABLE_DISPATCH)
-{
- $controller->dispatch();
-}
+$controller->dispatch();
$controller->end();