From 61be1700ee7e4e557fd085a1df13cd5e1869963f Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Thu, 19 Jun 2014 19:17:28 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20ErrorHandler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/FrontController.php | 2 +- Exception/ErrorHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/App/FrontController.php b/App/FrontController.php index 4d05bb6..07ba0eb 100644 --- a/App/FrontController.php +++ b/App/FrontController.php @@ -29,7 +29,7 @@ class FrontController private function __construct() { -// ErrorHandler::init(); +// \Majestic\Exception\ErrorHandler::init(); $this->router = new Router\Router(); } diff --git a/Exception/ErrorHandler.php b/Exception/ErrorHandler.php index 9c9f0dc..6ca3dec 100644 --- a/Exception/ErrorHandler.php +++ b/Exception/ErrorHandler.php @@ -12,7 +12,7 @@ class ErrorHandler static public function init() { - set_error_handler(array('ErrorHandler', 'error_handler')); + set_error_handler(array('Majestic\Exception\ErrorHandler', 'error_handler')); } static public function error_handler($errno, $errstr, $errfile, $errline)