Ecuador court paves way for media regulation under constitution