<?php
// Main configuration file
if (!defined("_VALID_ACCESS")) { exit("Direct access not allowed"); }

// Include all configuration files
require_once "config.define.php";
require_once "config.cache.php";  
require_once "config.set.php";
require_once "config.href.php";
require_once "config.folders.php";
require_once "config.paging.php";
require_once "config.footer.php";
require_once "config.smarty.php";
require_once "config.autoload.php";
require_once "config.keys.php";
require_once "config.logging.php";
require_once "config.database.php";

// Load core classes and functions
require_once "f_classes/class_adodb/adodb.inc.php";
require_once "f_classes/class_mobile/MobileDetect.php";
require_once "f_functions/functions.general.php";
require_once "f_functions/functions.security.php";
require_once "f_functions/functions.queue.php";

// Initialize system
$cfg = array();
$db = null;
$smarty = null;
