From 748393f653feaee64f95580d0d08d2f2adca808e Mon Sep 17 00:00:00 2001 From: Anton Terekhov Date: Tue, 11 Dec 2012 16:28:04 +0400 Subject: [PATCH] Fixed function name --- exception/ErrorHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exception/ErrorHandler.php b/exception/ErrorHandler.php index d9cca7e..57aa8ae 100644 --- a/exception/ErrorHandler.php +++ b/exception/ErrorHandler.php @@ -48,12 +48,12 @@ class ErrorHandler $error = 'Unknown Error'; break; } - $message = 'PHP ' . $error . ': ' . $exception->getMessage() . ' in ' . $exception->getFile() . ':' . $exception->getLine() . ' \nStack trace:\n' . $exception->getTraceAsString() . self::getHTTPEErrorConditions(); + $message = 'PHP ' . $error . ': ' . $exception->getMessage() . ' in ' . $exception->getFile() . ':' . $exception->getLine() . ' \nStack trace:\n' . $exception->getTraceAsString() . self::getHTTPErrorConditions(); // PHP Fatal error: Uncaught exception 'LogicException' in /www/test.tfs/face/htdocs/index.php:11\nStack trace:\n#0 {main}\n thrown in /www/test.tfs/face/htdocs/index.php on line 11, referer: http://test.tfs.manekeno.netmonsters.ru/news/create error_log($message); } - static public function getHTTPEErrorConditions() + static public function getHTTPErrorConditions() { $text = null; if (!is_null(Env::Server('REQUEST_METHOD')) && !is_null(Env::Server('REQUEST_URI'))) {