diff --git a/Vues/signIn.php b/Vues/signIn.php
index f79034f..f7ade04 100644
--- a/Vues/signIn.php
+++ b/Vues/signIn.php
@@ -20,9 +20,18 @@
-
-
+
+
+
+
+
diff --git a/Vues/signUp.php b/Vues/signUp.php
index 85a43af..2a84f89 100644
--- a/Vues/signUp.php
+++ b/Vues/signUp.php
@@ -29,14 +29,6 @@
-
diff --git a/config/config.php b/config/config.php
index 52502db..10951a9 100644
--- a/config/config.php
+++ b/config/config.php
@@ -2,16 +2,17 @@
$rep = __DIR__ . '/../';
-$login="thchazot1";
-$password="achanger";
-$dsn="mysql:host=localhost;dbname=dbthchazot1"; // chemin vers bd (mysql:host=londres.uca.local;dbname=dblibreton => pour l'iut)
-
+$login="root";
+$password="root";
+$dsn="mysql:host=localhost;port=8888;dbname=bddDeQualite"; // chemin vers bd (mysql:host=londres.uca.local;dbname=dblibreton => pour l'iut)
+//$dsn="mysql:host=localhost;port=8888;dbname=bddDeQualite";
$vues['erreur'] = 'Vues/erreur.php';
$vues['addList'] = 'Vues/addList.php';
$vues['addTask'] = 'Vues/addTask.php';
$vues['accueil'] = 'Vues/accueil.php';
$vues['signIn'] = 'Vues/signIn.php';
+$vues['signUp'] = 'Vues/signUp.php';
$vues['accueilPrivate'] = 'Vues/accueilPrive.php';
$vues['connexion'] = 'Vues/connexion.php';
diff --git a/controllers/VisitorController.php b/controllers/VisitorController.php
index 04caf37..e5bf91b 100644
--- a/controllers/VisitorController.php
+++ b/controllers/VisitorController.php
@@ -28,6 +28,9 @@ class VisitorController {
case "accessSignIn":
require($rep.$vues['signIn']);
break;
+ case "accessSignUp":
+ require($rep.$vues['signUp']);
+ break;
case "supprimerListe":
$this->DelList();
@@ -80,7 +83,7 @@ class VisitorController {
}
if(empty($dVueEreur)){
$hash= password_hash($password,PASSWORD_DEFAULT);
- $model->singUp($username,$hash);
+ $model->signUp($username,$hash);
$dVueEreur= array();
}
else{
diff --git a/gateway/ListeGateway.php b/gateway/ListeGateway.php
index 74d494a..35d0b96 100644
--- a/gateway/ListeGateway.php
+++ b/gateway/ListeGateway.php
@@ -93,7 +93,6 @@ class ListeGateway
$listes[] = new Liste($row['id'], $row['name'],false, null, $taches);
$taches = array();
-
}
}
catch(PDOException $Exception) {
diff --git a/index.php b/index.php
index 4825bdd..6103e68 100644
--- a/index.php
+++ b/index.php
@@ -11,5 +11,6 @@ Autoload::charger();
// Construction du controleur
//$cont=new FrontControleur();
//$_REQUEST['action']=NULL;
+
$cont= new FrontController();
?>