The director of the department of public safety of the said cities shall refuse to issue any license for any building, and shall close the same and prevent its opening until a certificate in writing of such approval shall have been given by the bureau of building inspection and the bureau of fire, respectively.
53 P.S. § 24932