<?php
/**
 * Digital Practice - Site Configuration
 */
session_start();

// Database Configuration
define('DB_HOST', 'localhost');
define('DB_NAME', 'digital_practice');
define('DB_USER', 'root');
define('DB_PASS', '');

// Site Configuration
define('SITE_NAME', 'Digital Practice');
define('SITE_TAGLINE', 'Powering Africa\'s Digital Future');
define('SITE_URL', 'http://localhost/Digitalpractice');
define('SITE_EMAIL', 'info@digitalpractice.org');
define('SITE_PHONE', '+234 800 000 0000');
define('SITE_ADDRESS', 'Lagos, Nigeria');

// Admin Configuration
define('ADMIN_EMAIL', 'admin@digitalpractice.org');

// Asset paths
define('CSS_PATH', SITE_URL . '/assets/css');
define('JS_PATH', SITE_URL . '/assets/js');
define('IMG_PATH', SITE_URL . '/assets/images');

/**
 * Professional Asset Recalibration Logic
 * We require the functions framework before orchestrating the dynamic version fetch.
 */
require_once __DIR__ . '/functions.php';

$asset_v = getSetting('asset_version', time());
define('ASSET_VERSION', $asset_v);
