39669-vm/fix_sidebar.py
2026-04-16 13:19:21 +00:00

8 lines
288 B
Python

with open('includes/sidebar.php', 'r', encoding='utf-8') as f:
content = f.read()
content = content.replace("href=\"approved_school.php', 'center_profile.php?id=", "href=\"approved_school.php?id=")
with open('includes/sidebar.php', 'w', encoding='utf-8') as f:
f.write(content)