diff --git a/system/locale.php b/system/locale.php index 69e95f4..fef81d2 100644 --- a/system/locale.php +++ b/system/locale.php @@ -15,7 +15,7 @@ class locale { \SYSTEM\SECURITY\Security::save(self::SESSION_KEY, $lang); if(\SYSTEM\SECURITY\Security::isLoggedIn()){ - \SYSTEM\SECURITY\Security::_db_setLocale(new \SYSTEM\DBD\systemPostgres(), $lang);} //TODO: connection def move somewhere? + \SYSTEM\SECURITY\Security::_db_setLocale(\SYSTEM\system::getSystemDBInfo(), $lang);} //TODO: connection def move somewhere? return true; }