Changed tabs to spaces

This commit is contained in:
Duncan Sommerville 2014-11-04 11:07:24 -05:00
parent 3024daba0e
commit e8950c8815
2 changed files with 9 additions and 11 deletions

View File

@ -12,16 +12,14 @@ ini_set('session.cookie_httponly', '1');
error_reporting(E_ALL|E_STRICT);
function exception_error_handler($errno, $errstr, $errfile, $errline)
{
function exception_error_handler($errno, $errstr, $errfile, $errline) {
//Check if the statement that threw this error wanted its errors to be
//suppressed. If so then return without with throwing exception.
if (0 === error_reporting()) {
return;
}
if (0 === error_reporting()) return;
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
return false;
}
set_error_handler("exception_error_handler");
// Define path to application directory