@@ -33,7 +33,9 @@ |
||
33 | 33 | $app->pages->add('not found', '/404', 'fas fa-times'); |
34 | 34 | |
35 | 35 | // == Website's routes |
36 | -if ($app->request->isRequestToAdminManagement()) return; |
|
36 | +if ($app->request->isRequestToAdminManagement()) { |
|
37 | + return; |
|
38 | +} |
|
37 | 39 | |
38 | 40 | |
39 | 41 | $app->route->add('/', 'Website/Home'); |
@@ -2,7 +2,9 @@ |
||
2 | 2 | |
3 | 3 | $app = app(); |
4 | 4 | |
5 | -if (!$app->request->isRequestToAdminManagement()) return; |
|
5 | +if (!$app->request->isRequestToAdminManagement()) { |
|
6 | + return; |
|
7 | +} |
|
6 | 8 | |
7 | 9 | // Rotes admins |
8 | 10 |