Bug fixes

This commit is contained in:
Hillel Coren 2014-03-23 20:01:00 +02:00
parent 2efde97a4e
commit bb6815ba13

View File

@ -37,8 +37,7 @@ class Utils
'url' => Input::get('url', Request::url()), 'url' => Input::get('url', Request::url()),
'user_agent' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '', 'user_agent' => isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '',
'ip' => Request::getClientIp(), 'ip' => Request::getClientIp(),
'count' => Session::get('error_count', 0), 'count' => Session::get('error_count', 0)
'input' => Input::all()
]; ];
Log::error($error."\n", $data); Log::error($error."\n", $data);