diff options
| author | polo-pc-greta <ordipolo@gmx.fr> | 2025-05-08 12:32:34 +0200 |
|---|---|---|
| committer | polo-pc-greta <ordipolo@gmx.fr> | 2025-05-08 12:32:34 +0200 |
| commit | 28698982ff6dc67a331788c2637bce8689121769 (patch) | |
| tree | 6df30593fdcdd2ead77dd894467e5031a31cfde9 /public/index.php | |
| parent | 2d8ec75f4aaf3b93fd9f6758f8dcb4f1f9f03d0c (diff) | |
| download | cms-28698982ff6dc67a331788c2637bce8689121769.tar.gz cms-28698982ff6dc67a331788c2637bce8689121769.tar.bz2 cms-28698982ff6dc67a331788c2637bce8689121769.zip | |
modif page, création d'un bloc
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php index abdac71..9f930fd 100644 --- a/public/index.php +++ b/public/index.php | |||
| @@ -60,6 +60,12 @@ elseif(isset($_GET['action']) && $_GET['action'] === 'modif_mdp') | |||
| 60 | { | 60 | { |
| 61 | changePassword($entityManager); | 61 | changePassword($entityManager); |
| 62 | } | 62 | } |
| 63 | elseif($_SESSION['admin'] && isset($_GET['page']) && isset($_GET['action']) && $_GET['action'] === 'modif_page' | ||
| 64 | && $_GET['page'] !== 'connexion' && $_GET['page'] !== 'article' && $_GET['page'] !== 'menu_chemins') | ||
| 65 | { | ||
| 66 | // les contrôles de la 2è ligne devraient utiliser un tableau | ||
| 67 | MainBuilder::$modif_mode = true; | ||
| 68 | } | ||
| 63 | 69 | ||
| 64 | // -- contrôleurs -- | 70 | // -- contrôleurs -- |
| 65 | $director = new Director($entityManager, true); | 71 | $director = new Director($entityManager, true); |
