Reduced database connections on startup

This commit is contained in:
Frank Schubert
2024-02-06 18:42:55 +01:00
parent 01f41c9eaa
commit afac1ff9c9
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class mfConfig {
private $me;
public function __construct($name) {
$this->db = new FronkDB();
$this->db = FronkDB::singleton();
$name = $this->db->escape($name);
$this->name = $name;