diff options
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php index 3c6f261..2512d6d 100644 --- a/public/index.php +++ b/public/index.php | |||
| @@ -69,9 +69,9 @@ elseif(isset($_GET['action']) && $_GET['action'] === 'modif_mdp') | |||
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | // -- contrôleurs -- | 71 | // -- contrôleurs -- |
| 72 | $director = new Director($entityManager); | 72 | $director = new Director($entityManager, true); |
| 73 | $director->makeRootNode($id); | 73 | $director->makeRootNode($id); |
| 74 | $node = $director->getRootNode(); | 74 | $node = $director->getNode(); |
| 75 | 75 | ||
| 76 | // -- vues -- | 76 | // -- vues -- |
| 77 | $view_builder = new ViewBuilder($node); | 77 | $view_builder = new ViewBuilder($node); |
