travail du 25/02 : travail mineur
This commit is contained in:
parent
c38602f4e6
commit
a29542f30e
3 changed files with 3 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
tests/
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue