mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
ce276bd5b7
- Easier rewrite management. - Optimisations. - Updated documentation.
13 lines
266 B
PHP
13 lines
266 B
PHP
<?php
|
|
|
|
class TestExceptionHandlerFirst implements \Pecee\Handlers\IExceptionHandler
|
|
{
|
|
public function handleError(\Pecee\Http\Request $request, \Exception $error)
|
|
{
|
|
echo 'ExceptionHandler 1 loaded' . chr(10);
|
|
|
|
$request->setUri('/');
|
|
return $request;
|
|
}
|
|
|
|
} |