<?php
define('SECURE_ACCESS', true);
require_once __DIR__ . '/../includes/config.php';
require_once __DIR__ . '/../includes/db.php';

try {
    $db = getDBConnection(true);
    
    // Update site name
    $upd = $db->prepare("UPDATE system_settings SET value = ? WHERE key = ?");
    $upd->execute(['RENENET EDUCARE', 'site_name']);
    echo "Site name updated to RENENET EDUCARE successfully!\n";
} catch (PDOException $e) {
    echo "Database error: " . $e->getMessage() . "\n";
}
