Add multilingual support with translations for German, Russian, French, and Chinese
Added time limits and backup functions for servers
This commit is contained in:
@@ -16,6 +16,10 @@ class DB {
|
||||
PDO::ATTR_EMULATE_PREPARES => false,
|
||||
];
|
||||
self::$pdo = new PDO($dsn, $user, $pass, $options);
|
||||
|
||||
// Explicitly set UTF-8 encoding for connection
|
||||
self::$pdo->exec("SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci");
|
||||
|
||||
return self::$pdo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user