diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-30 16:05:28 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-30 16:05:48 +0400 |
commit | 61b8e5932a99a47971a99d679fd5be2430ab6af7 (patch) | |
tree | ad9103c7d82c67637067dbc75bdc0125520d96ff /index.php | |
parent | 6b20a983ecb852356a3658aaa4042e31182cb0c2 (diff) |
Refs #4133 Finishing the code changes and build seems to pass
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -40,14 +40,16 @@ require_once PIWIK_INCLUDE_PATH . '/vendor/autoload.php'; require_once PIWIK_INCLUDE_PATH . '/core/Loader.php'; require_once PIWIK_INCLUDE_PATH . '/core/functions.php'; +define('PIWIK_PRINT_ERROR_BACKTRACE', false); + if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) { require_once PIWIK_INCLUDE_PATH . '/core/Error.php'; Error::setErrorHandler(); - require_once PIWIK_INCLUDE_PATH . '/core/ExceptionHandler.php'; ExceptionHandler::setUp(); } + if (!defined('PIWIK_ENABLE_DISPATCH') || PIWIK_ENABLE_DISPATCH) { $controller = FrontController::getInstance(); $controller->init(); |