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:
authormattab <matthieu.aubry@gmail.com>2014-12-19 06:42:14 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-19 06:42:14 +0300
commit5ae06694d9f158ae567f7a84f8c58473994ff4d9 (patch)
tree900a43244e92972d7534ac0112b5e8955baac330 /console
parentcfc12b0c60a4621a948de96ad41b5a9276599260 (diff)
Minor
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();
}