From a29542f30e8038482baaad970d5552de79f5e6a1 Mon Sep 17 00:00:00 2001 From: Erwann Philippe Date: Thu, 26 Feb 2026 08:41:16 +0100 Subject: [PATCH] travail du 25/02 : travail mineur --- .gitignore | 1 + photos.php | 1 + pratiques.php | 1 + 3 files changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3d0dbe4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tests/ \ No newline at end of file diff --git a/photos.php b/photos.php index 9a8669a..ac711f6 100644 --- a/photos.php +++ b/photos.php @@ -2,6 +2,7 @@ include("./Assets/functions.php"); $config = json_decode(file_get_contents("./Assets/config.json"), true); $bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]); +$page = 'photos'; /* Gestion de la connexion */ session_start(); diff --git a/pratiques.php b/pratiques.php index 26787d3..35a157b 100644 --- a/pratiques.php +++ b/pratiques.php @@ -2,6 +2,7 @@ include("./Assets/functions.php"); $config = json_decode(file_get_contents("./Assets/config.json"), true); $bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]); +$page = "bonnes pratiques"; ?>