aboutsummaryrefslogtreecommitdiff
path: root/src/controller/ViewDirector.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/ViewDirector.php')
-rw-r--r--src/controller/ViewDirector.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/controller/ViewDirector.php b/src/controller/ViewDirector.php
index a572f14..59629c9 100644
--- a/src/controller/ViewDirector.php
+++ b/src/controller/ViewDirector.php
@@ -61,9 +61,6 @@ class ViewDirector extends AbstractBuilder // ViewDirector est aussi le premier
61 if(CURRENT_PAGE === 'article' && !IS_ADMIN && self::$root_node->getNodeByName('main')->getAdoptedChild() === null){ 61 if(CURRENT_PAGE === 'article' && !IS_ADMIN && self::$root_node->getNodeByName('main')->getAdoptedChild() === null){
62 return new Response($this->html, 302); 62 return new Response($this->html, 302);
63 } 63 }
64 elseif(CURRENT_PAGE === 'maintenance'){
65 Backup::mySQLdump($entityManager, 'auto'); // créer un nouveau backup
66 }
67 64
68 65
69 /* 4/ construction de la page avec builders et vues */ 66 /* 4/ construction de la page avec builders et vues */