Merge branch 'namespace' of dimti.ru:majestic into namespace

This commit is contained in:
2014-07-03 15:59:38 +04:00
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class FrontController
private function __construct()
{
// ErrorHandler::init();
// \Majestic\Exception\ErrorHandler::init();
$this->router = new Router\Router();
}

View File

@ -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)