<?php
require_once dirname(dirname(__DIR__)) . '/Frame/Init.php';
$host = (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'manage.makeup.meitu.com';
// 设置环境变量
\PhpLife\Frame\Init::setEnvironment('/www/privdata/'.$host.'/site.ini');
// 分发请求
\PhpLife\Frame\Dispatcher::dispatch('Api');