Police, army directed to recognise media accreditation cards