Changed tabs to spaces
This commit is contained in:
parent
3024daba0e
commit
e8950c8815
|
@ -12,16 +12,14 @@ ini_set('session.cookie_httponly', '1');
|
||||||
|
|
||||||
error_reporting(E_ALL|E_STRICT);
|
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
|
//Check if the statement that threw this error wanted its errors to be
|
||||||
//suppressed. If so then return without with throwing exception.
|
//suppressed. If so then return without with throwing exception.
|
||||||
if (0 === error_reporting()) {
|
if (0 === error_reporting()) return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
|
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
set_error_handler("exception_error_handler");
|
set_error_handler("exception_error_handler");
|
||||||
|
|
||||||
// Define path to application directory
|
// Define path to application directory
|
||||||
|
|
Loading…
Reference in New Issue