Transport through a four-quantum-dot ring in a four-terminal configuration