Actualiser forum-project/config.php

This commit is contained in:
2025-11-02 23:36:07 +00:00
parent 7acc43adc3
commit 9972a6265f

View File

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