mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 15:40:22 +00:00
10 lines
318 B
PHP
Executable file
10 lines
318 B
PHP
Executable file
<?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']);
|
|
?>
|
|
|