From 2cb70e81b0e148186c5f21403122c0bcf01fcccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Wed, 17 Apr 2024 17:33:33 +0200 Subject: [PATCH] Index from php to html --- forgotPassword-praticien.php | 2 +- forgotPassword.php | 2 +- index.php => index.html | 2 +- login-praticien.php | 2 +- login.php | 4 ++-- signup-praticien.php | 4 ++-- signup.php | 4 ++-- src/php/components/check.php | 8 ++++---- src/php/db/scripts/deconnexion.php | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) rename index.php => index.html (99%) diff --git a/forgotPassword-praticien.php b/forgotPassword-praticien.php index a8c3bdd..f83065d 100644 --- a/forgotPassword-praticien.php +++ b/forgotPassword-praticien.php @@ -21,7 +21,7 @@ $pdo = dbConnect(); ?>
- +

Doct'ISEN

diff --git a/forgotPassword.php b/forgotPassword.php index 09030c7..a1f3016 100644 --- a/forgotPassword.php +++ b/forgotPassword.php @@ -21,7 +21,7 @@ $pdo = dbConnect(); ?>
- +

Doct'ISEN

diff --git a/index.php b/index.html similarity index 99% rename from index.php rename to index.html index 314c3b3..79f6e2d 100644 --- a/index.php +++ b/index.html @@ -2,7 +2,7 @@ - Acceuil + Accueil diff --git a/login-praticien.php b/login-praticien.php index 459df1d..0b3a931 100644 --- a/login-praticien.php +++ b/login-praticien.php @@ -22,7 +22,7 @@ ?>
- +

Doct'ISEN

diff --git a/login.php b/login.php index 9913c67..c564acc 100644 --- a/login.php +++ b/login.php @@ -23,7 +23,7 @@
- +

Doct'ISEN

@@ -60,7 +60,7 @@ if($login != false){ error_log("Login success"); $_SESSION['token'] = base64_encode("patient:".strval($login)); - echo ''; + echo ''; } else { error_log('Erreur de connexion'); } diff --git a/signup-praticien.php b/signup-praticien.php index 7cfb68d..87ba5de 100644 --- a/signup-praticien.php +++ b/signup-praticien.php @@ -23,7 +23,7 @@ session_start(); ?>
- +

Doct'ISEN

@@ -98,7 +98,7 @@ session_start(); if(SignupMedecin::insertMedecin($pdo,$name,$surname,$mail, $password,$specialite,$phone,$codePostal)){ error_log("Signup success"); $_SESSION['id'] = $mail; - echo ''; + echo ''; } else { error_log("Erreur d'inscription"); } diff --git a/signup.php b/signup.php index 44d3b94..c354103 100644 --- a/signup.php +++ b/signup.php @@ -23,7 +23,7 @@ session_start(); ?>