<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
| SYSTEM SETTINGS CONFIGURATION
| -------------------------------------------------------------------
| This file contains system-wide settings including database mode
| and other configuration options. This file is auto-generated
| during installation and should not be manually edited.
|
*/

// Default settings - will be overridden by installation process
$system_settings = array(
    // Database Mode Settings
    'database_mode' => 'offline', // 'online' or 'offline'
    
    // Site URLs - will be set during installation
    'offline_url' => '',
    'online_url' => '',
    
    // Installation Settings
    'installation_date' => date('Y-m-d H:i:s'),
    'installation_mode' => 'single', // 'dual', 'online_only', 'offline_only'
    
    // Database Connection Settings - will be set during installation
    'offline_db_config' => array(
        'hostname' => '',
        'username' => '',
        'password' => '',
        'database' => ''
    ),
    
    'online_db_config' => array(
        'hostname' => '',
        'username' => '',
        'password' => '',
        'database' => ''
    ),
    
    // System Status
    'system_status' => 'active',
    'last_mode_switch' => null,
    'mode_switch_count' => 0,
    
    // Synchronization Settings
    'sync_enabled' => false,
    'last_sync_time' => null,
    'sync_frequency' => 300, // 5 minutes in seconds
    'auto_sync_on_online' => true
);
