static function ConnectFull($config,$db){ DataManager::initUserRegConnection($config); DataManager::useDatabase($db); }