PHP7 compatibility fixes.
[fa-stable.git] / includes / session.inc
index 3ec67df1be0134276def5c0b1ad0f0539f5478a0..bba6496fddd1dc6a861c9db4b149cf63aabe734b 100644 (file)
@@ -372,6 +372,7 @@ if (isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
 include_once($path_to_root . "/includes/errors.inc");
 // colect all error msgs
 set_error_handler('error_handler' /*, errtypes */);
+set_exception_handler('exception_handler');
 
 include_once($path_to_root . "/includes/current_user.inc");
 include_once($path_to_root . "/frontaccounting.php");