68 Pa.C.S. § 7315
(a) General rule.— Except as provided in subsection (b), a municipality or local authority shall not have the power to mandate that:
(b) Exception.— Subsection (a) shall not apply to an ordinance or regulation adopted by a municipality or local authority before the effective date of this section, and such an ordinance or regulation shall continue in full force and effect, except that the municipality or local authority shall not have the power after that date to amend the ordinance or regulation in a manner that: