Add feature of accepting settings from server

между foreach и ( нужен пробел