﻿file = r'app\Http\Controllers\BackupController.php'
with open(file, 'r', encoding='utf-8') as f:
    c = f.read()

c = c.replace("->with('success',", "->with('backup_success',")

with open(file, 'w', encoding='utf-8') as f:
    f.write(c)
print("OK!")
