@@ -1,9 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use FlightLog\Http\Web\Controller\DamageController; |
|
| 4 | -use FlightLog\Http\Web\Controller\FlightController; |
|
| 5 | 3 | use FlightLog\Infrastructure\Common\Routes\Guard; |
| 6 | -use FlightLog\Infrastructure\Common\Routes\Route; |
|
| 7 | 4 | |
| 8 | 5 | global $db; |
| 9 | 6 | |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | include $response->getTemplate(); |
| 105 | - }else{ |
|
| 105 | + } else{ |
|
| 106 | 106 | echo 'Route non trouvée.'; |
| 107 | 107 | } |
| 108 | 108 | ?> |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | exit; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | -}catch (\Exception $e){ |
|
| 75 | +} catch (\Exception $e){ |
|
| 76 | 76 | dol_syslog($e->getMessage(), LOG_ERR); |
| 77 | 77 | $response = new \FlightLog\Http\Web\Response\Response($e->getMessage()); |
| 78 | 78 | } |