diff options
author | robocoder <anthon.pang@gmail.com> | 2010-10-09 19:32:37 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-10-09 19:32:37 +0400 |
commit | 84e83d8890020da28c3f7faf715e648c293a43df (patch) | |
tree | d828a7749e9693860677b624baf2c04d5e82e41a /index.php | |
parent | 457a5c250fe40541f11a636b894c893405230c2a (diff) |
refs #1760, refs #1573 - undo change to index.php; integrator has to wrap this in their own try...catch
git-svn-id: http://dev.piwik.org/svn/trunk@3242 59fd770c-687e-43c8-a1e3-f5a4ff64c105
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(); } |