#!/usr/bin/env php
<?php

// 环境检查
if ($_SERVER['argc'] < 1) {
    exit('authorized denied');
}

require_once dirname(dirname(__DIR__)) . '/Frame/Init.php';
define('HOST','manage.makeup.meitu.com');
// 设置环境变量
\PhpLife\Frame\Init::setEnvironment('/www/privdata/'.HOST.'/site.ini');
// 分发请求
\PhpLife\Frame\Dispatcher::dispatch('Script', $_SERVER['argv'][1]);
