<?php
header('Access-Control-Allow-Origin', '*');
header('Access-Control-Allow-Methods' , 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
header('Access-Control-Allow-Headers', 'X-Requested-With,content-type');
header('Access-Control-Allow-Credentials',  true);
@session_start();
$config = require(__DIR__.'/shop.config.php');
require($config['ROOT_SHOP_SYS'].'sys.php');