Actualiser forum-project/composer.json

This commit is contained in:
2025-11-02 23:34:14 +00:00
parent b915e237c6
commit 7acc43adc3

View File

@@ -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',