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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-24 10:15:11 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-24 10:15:11 +0400
commit3433a3d353a86c4c001693dedeea102c06b4c19e (patch)
tree902d8bce481a6bad1f3d9670bd4a3e287e5b5473 /index.php
parentc6350fbba5b80a89aaef2b660632c171dfb9a33a (diff)
Finished converting exception handling.
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 0839100d32..0ffa6ea99c 100644
--- a/index.php
+++ b/index.php
@@ -10,6 +10,7 @@
use Piwik\FrontController;
use Piwik\Error;
+use Piwik\ExceptionHandler;
define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__) == '/' ? '' : dirname(__FILE__));
if (file_exists(PIWIK_DOCUMENT_ROOT . '/bootstrap.php')) {
@@ -44,7 +45,7 @@ if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) {
Error::setErrorHandler();
require_once PIWIK_INCLUDE_PATH . '/core/ExceptionHandler.php';
- set_exception_handler('Piwik_ExceptionHandler');
+ ExceptionHandler::setUp();
}
if (!defined('PIWIK_ENABLE_DISPATCH') || PIWIK_ENABLE_DISPATCH) {