From 9972a6265f2e962739c4b1e03f6ee6ade66e3c54 Mon Sep 17 00:00:00 2001 From: "aya.ben-mabrouk" Date: Sun, 2 Nov 2025 23:36:07 +0000 Subject: [PATCH] Actualiser forum-project/config.php --- forum-project/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum-project/config.php b/forum-project/config.php index b8e55ef..98df4b4 100644 --- a/forum-project/config.php +++ b/forum-project/config.php @@ -7,7 +7,7 @@ require_once __DIR__ . '/vendor/autoload.php'; use Aws\S3\S3Client; -// ✅ Connexion PDO + try { $pdo = new PDO( 'mysql:host=mysql;dbname=forum_database;charset=utf8mb4', @@ -22,7 +22,7 @@ try { die("Erreur de connexion MySQL : " . $e->getMessage()); } -// ✅ Client MinIO + $s3Client = new S3Client([ 'version' => 'latest', 'region' => 'us-east-1',