mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Initial commit
This commit is contained in:
10
includes/exceptions.php
Normal file
10
includes/exceptions.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once 'src/RaspAP/Exceptions/ExceptionHandler.php';
|
||||
|
||||
// Import the ExceptionHandler class
|
||||
use RaspAP\Exceptions\ExceptionHandler;
|
||||
|
||||
set_exception_handler(['RaspAP\Exceptions\ExceptionHandler', 'handleException']);
|
||||
register_shutdown_function(['RaspAP\Exceptions\ExceptionHandler', 'handleFatalError']);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user