Actualiser forum-project/config.php
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user