<?php
// Version
define('VERSION', '3.0.3.8');

// if (file_exists('forceA.ini')){
//     $mode = file_get_contents('forceA.ini');
//     $mode = $mode ?? 0;
//     if ($mode == 1){
//         $config_file = 'config_a.php';
//         if (is_file($config_file)) {
//             require_once($config_file);
//         }
//         require_once(DIR_SYSTEM . 'startup.php');
//         start('catalog');
//         exit;
//     }
// }

// Configuration
if (is_file('config.php')) {
	require_once('config.php');
}


// Install
if (!defined('DIR_APPLICATION')) {
	header('Location: install/index.php');
	exit;
}

// Startup
require_once(DIR_SYSTEM . 'startup.php');

start('catalog');