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"; ?>