diff options
| author | polo <contact@ordipolo.fr> | 2026-05-16 02:10:23 +0200 |
|---|---|---|
| committer | polo <contact@ordipolo.fr> | 2026-05-16 02:10:23 +0200 |
| commit | e79931432e63a86c5b7ced8a41186a24239794fe (patch) | |
| tree | 2feeb64150c1ab858034cd03926872acba9afbb6 /src/controller/ViewDirector.php | |
| parent | 3d4d7af869442abf91c1a40e7c35d616a8e5e428 (diff) | |
| download | cms-e79931432e63a86c5b7ced8a41186a24239794fe.tar.gz cms-e79931432e63a86c5b7ced8a41186a24239794fe.tar.bz2 cms-e79931432e63a86c5b7ced8a41186a24239794fe.zip | |
appel à Backup::mySQLdump déplacé à la connexion, compatibilité PHP 8.2 (cause instanciation dans une chaine de méthodes), gzip encode disponible
Diffstat (limited to 'src/controller/ViewDirector.php')
| -rw-r--r-- | src/controller/ViewDirector.php | 3 |
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 */ |
