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
@@ -118,7 +118,7 @@ class mfLoginController extends mfBaseController
public static function isLoggedIn()
{
$db = new FronkDB();
$db = FronkDB::singleton();
if (!defined("MFAPPNAME")) define("MFAPPNAME", "mvcfronk");
if (!defined("MFUSERTABLE")) define("MFUSERTABLE", "mfWorker");