In order to promote the public safety and the general welfare, cities of the first class of this Commonwealth, in addition to other remedies provided by law, are hereby authorized and empowered to enact and enforce, by ordinance, fire prevention codes to govern and regulate the occupation and use of all types of buildings and structures, and the method and manner of conducting or engaging in trades or businesses which, due to the nature thereof, create fire hazards or danger to life or property by fire or explosion. Such ordinances need not be published or advertised in full as required by law in the case of the adoption of ordinances: Provided, That a notice of the adoption of such ordinances as the fire prevention code of any such city, together with a brief summary setting forth the principal provisions thereof in such reasonable detail as will give adequate notice of its contents and a reference to the place where copies thereof are deposited and may be examined, shall be published in the manner provided for the publication of ordinances: And provided further, That any action under this act must be taken before any home rule charter becomes effective in any such cities.
53 P.S. § 14571