The director of the Foley Public Library is leaving Alabama two months after a controversy concerning inappropriate books in the children’s and teen’s section.