<?php
// Read the file content
$content = file_get_contents('c:/MAMP/htdocs/bidda/fees/verify_bank_transactions.php');

// Look for the problematic pattern: require_once '../config/database.php'; followed by spaces and 'notification_system.php';
$pattern = '/(require_once \'..\/config\/database\.php\'\;)\s*\n\s*notification_system\.php\'\;/';

$replacement = '$1' . "\n" . 'require_once \'../includes/notification_system.php\';';

$fixed_content = preg_replace($pattern, $replacement, $content);

// Write the fixed content back to the file
file_put_contents('c:/MAMP/htdocs/bidda/fees/verify_bank_transactions.php', $fixed_content);

echo "File has been fixed successfully!\n";
?>