travail du 25/02 : travail mineur

This commit is contained in:
Erwann PHILIPPE 2026-02-26 08:41:16 +01:00
parent c38602f4e6
commit a29542f30e
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
tests/

View file

@ -2,6 +2,7 @@
include("./Assets/functions.php"); include("./Assets/functions.php");
$config = json_decode(file_get_contents("./Assets/config.json"), true); $config = json_decode(file_get_contents("./Assets/config.json"), true);
$bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]); $bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]);
$page = 'photos';
/* Gestion de la connexion */ /* Gestion de la connexion */
session_start(); session_start();

View file

@ -2,6 +2,7 @@
include("./Assets/functions.php"); include("./Assets/functions.php");
$config = json_decode(file_get_contents("./Assets/config.json"), true); $config = json_decode(file_get_contents("./Assets/config.json"), true);
$bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]); $bdd = connectBDD("localhost", $config["BDD_USER"], $config["BDD_PASSWD"], $config["BDD_NAME"]);
$page = "bonnes pratiques";
?> ?>
<!doctype html> <!doctype html>
<html lang="fr"> <html lang="fr">