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:
authorrobocoder <anthon.pang@gmail.com>2010-10-09 19:32:37 +0400
committerrobocoder <anthon.pang@gmail.com>2010-10-09 19:32:37 +0400
commit84e83d8890020da28c3f7faf715e648c293a43df (patch)
treed828a7749e9693860677b624baf2c04d5e82e41a /index.php
parent457a5c250fe40541f11a636b894c893405230c2a (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.php17
1 files changed, 3 insertions, 14 deletions
diff --git a/index.php b/index.php
index 504159c037..b99afaed76 100644
--- a/index.php
+++ b/index.php
@@ -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();
}