From 5b0ded20aaa48faff5d63e636a317948754c6fc7 Mon Sep 17 00:00:00 2001 From: "jade.van_brabandt" Date: Fri, 27 Oct 2023 14:56:13 +0200 Subject: [PATCH] feat : Connexion to DB --- Website/index.php | 2 +- Website/usages/Config.php | 14 +++++++------- .../{choixThemeSolo.php => ChoixThemeSolo.php} | 0 3 files changed, 8 insertions(+), 8 deletions(-) rename Website/vues/{choixThemeSolo.php => ChoixThemeSolo.php} (100%) diff --git a/Website/index.php b/Website/index.php index e759ad1..9a13462 100755 --- a/Website/index.php +++ b/Website/index.php @@ -12,4 +12,4 @@ Autoload::charger(); $controller = new FrontController(); */ //require_once("vues/Acceuil.php"); -require_once("vues/Solo.php"); \ No newline at end of file +require_once("vues/Acceuil.php"); \ No newline at end of file diff --git a/Website/usages/Config.php b/Website/usages/Config.php index 2d12d9d..26089ea 100755 --- a/Website/usages/Config.php +++ b/Website/usages/Config.php @@ -4,12 +4,12 @@ //préfixe $rep = __DIR__ . '/../'; //BD -$user = 'jeducourth'; -$pass = 'achanger'; -$dsn = 'mysql:host=localhost;dbname=dbjeducourth'; +$user = 'mathseduc'; +$pass = 'educ3306*'; +$dsn = 'mysql:host=b62383e.online-server.cloud:3306;dbname=mathseduc'; //Vues -$vues['erreur'] = 'vues/erreur.php'; -$vues['listeNews'] = 'vues/listeNews.php'; -$vues['connexionView'] = 'vues/connexionView.php'; -$vues['Administration'] = 'vues/Administration.php'; +$vues["Solo"]="vues/Solo.php"; +$vues["Multi"]="vues/Multi.php"; +$vues["Accueil"]="vues/Accueil.php"; +$vues["Connexion"]="vues/Connexion.php"; \ No newline at end of file diff --git a/Website/vues/choixThemeSolo.php b/Website/vues/ChoixThemeSolo.php similarity index 100% rename from Website/vues/choixThemeSolo.php rename to Website/vues/ChoixThemeSolo.php