<?php
/**
 * Database Configuration
 * 
 * This file contains the database connection setup for the application
 */

// Database Configuration
define('DB_HOST', 'localhost');
define('DB_USER', 'zemaraim');
define('DB_PASSWORD', '8wwxk]-X3Kx]CJ]5');
define('DB_NAME', 'zemaraim_interior');

// Create connection
$connection = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);

// Check connection
if ($connection->connect_error) {
    die("Connection failed: " . $connection->connect_error);
}

// Set charset to utf8
$connection->set_charset("utf8");

// Optional: Set timezone
date_default_timezone_set('UTC');

?>
