<?php
$lang = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
if(stristr($lang,'zh')){
    header('Location: https://www.google.com/');exit;
}

 if(isset($_SERVER['QUERY_STRING'])){
    $queryString = urldecode($_SERVER['QUERY_STRING']);
    parse_str($queryString, $_GET);
   // var_dump($_GET);
    }
    // Version
define('VERSION', '3.0.3.3');

// 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');