diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-01-20 03:17:36 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-01-20 03:17:36 +0300 |
commit | 2cd2a9e6724244b1a3efb846dbb95fe407b30612 (patch) | |
tree | 4f0edd11b7dd933ba3103f44af7a6b8bd3459732 /index.php | |
parent | a8a6d54f80940bb47783edf9a04f841944c5443c (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-x | index.php | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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(); |