diff --git a/forum-project/composer.json b/forum-project/composer.json index 7f6d65b..5afa9e7 100755 --- a/forum-project/composer.json +++ b/forum-project/composer.json @@ -18,12 +18,12 @@ PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC die("Erreur de connexion à la base MySQL : " . $e->getMessage()); } -// 🔥 Import du SDK AWS (pour MinIO) + require_once __DIR__ . '/vendor/autoload.php'; use Aws\S3\S3Client; -// 🔧 Initialisation du client S3 pour MinIO + $s3Client = new S3Client([ 'version' => 'latest', 'region' => 'us-east-1',