Add multilingual support with translations for German, Russian, French, and Chinese
Added time limits and backup functions for servers
This commit is contained in:
1 parent
1deea2e4b7
commit
1f91f17f57
25 files changed
+2494
-103
No files matched your search
@@ -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