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:
Diffstat (limited to 'console')
-rwxr-xr-xconsole4
1 files changed, 1 insertions, 3 deletions
diff --git a/console b/console
index b75eb2d1ec..a0bba7da39 100755
--- a/console
+++ b/console
@@ -26,9 +26,7 @@ if (!Piwik\Common::isPhpCliMode()) {
}
if (!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER) {
- require_once PIWIK_INCLUDE_PATH . '/core/Error.php';
- \Piwik\ErrorHandler::setErrorHandler();
- require_once PIWIK_INCLUDE_PATH . '/core/ExceptionHandler.php';
+ \Piwik\ErrorHandler::registerErrorHandler();
\Piwik\ExceptionHandler::setUp();
}