111
<?php
namespace think;
/*
设置默认时区的两种方法
ini_set('date.timezone','Asia/shanghai');
date_default_timezone_set('Asia/shanghai');
*/
ini_set('date.timezone','Asia/shanghai');
define('WEB_PATH',str_replace('\\','/',__DIR__));
define('ROOT_PATH',dirname(WEB_PATH));
define('EXTEND_PATH',ROOT_PATH.'/extend');
require ROOT_PATH.'/thinkphp/base.php';
//$build = include ROOT_PATH.'/app/build.php';
//\think\Build::run($build);
Container::get('app')->path(ROOT_PATH.'/app')->run()->send();