Skip to content
Snippets Groups Projects
Commit e22f1a19 authored by Olav Morken's avatar Olav Morken
Browse files

Disable custom error handler and exception handler.

Disable the custom handlers until the logger class and the
configuration class can avoid calling recursing into each other.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1590 44740490-163a-0410-bde0-09ae8108e29a
parent f04797bd
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,9 @@ function SimpleSAML_exception_handler(Exception $exception) {
$e = new SimpleSAML_Error_Error('UNHANDLEDEXCEPTION', $exception);
$e->show();
}
set_exception_handler('SimpleSAML_exception_handler');
/* Disabled; see issue #176.
* set_exception_handler('SimpleSAML_exception_handler');
*/
/* Log full backtrace on errors and warnings. */
function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0, $errcontext = NULL) {
......@@ -46,7 +48,9 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0
/* Resume normal error processing. */
return FALSE;
}
set_error_handler('SimpleSAML_error_handler');
/* Disabled; see issue #176.
* set_error_handler('SimpleSAML_error_handler');
*/
$path_extra = dirname(dirname(__FILE__)) . '/lib';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment