diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -55,18 +55,7 @@ if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) if(!defined('PIWIK_ENABLE_DISPATCH') || PIWIK_ENABLE_DISPATCH) { - try { - $controller = Piwik_FrontController::getInstance(); - $controller->init(); - $controller->dispatch(); - } catch (Exception $e) { - if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) - { - throw $e; - } - else - { - error_log($e->getMessage(), 0); - } - } + $controller = Piwik_FrontController::getInstance(); + $controller->init(); + $controller->dispatch(); } |